Re: new pacification suggestion?
Akim Demaille <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.patches,gmane.comp.parsers.bison.general |
|---|---|
| Message-ID | <[email protected]> |
> Le 20 nov. 2018 à 21:01, Akim Demaille <[email protected]> a écrit : > > Hi Uxio, > > Thanks for the report. I’m installing this (in master). Actually, I didn’t. I don’t understand the behavior of clang. On small examples, ((0)) works perfectly, but in the case of bison’s own parser, I keep getting errors: src/parse-gram.c:2848:5: error: code will never be executed [-Werror,-Wunreachable-code] goto yyerrorlab; ^~~~~~~~~~~~~~~ src/parse-gram.c:2847:8: note: silence by adding parentheses to mark code as explicitly dead if ((0)) ^ /* DISABLES CODE */ ( )