gcc's C parser bitten by error recovery changes in bison 1.50

Gabriel Dos Reis gdr@integrable-solutions.net
Wed Oct 16 04:34:00 GMT 2002


Akim Demaille <akim@epita.fr> writes:

| gcc/build/gcc % ./cc1 /tmp/foo.c                                  nostromo 13:18
|  a_translate
| /tmp/foo.c: Dans la fonction «a_translate»:
| /tmp/foo.c:7: error: erreur d'analyse syntaxique before '{' token
| /tmp/foo.c:11: error: `p_addr' undeclared (first use in this function)
| /tmp/foo.c:11: error: (Each undeclared identifier is reported only once
| /tmp/foo.c:11: error: for each function it appears in.)

[ Not really related to the ongoing discussion ]

  Akim, how to manage to get GCC output such an unreadable message
(neither English nor French :-)  Better no translation :-(

-- Gaby



More information about the Gcc-bugs mailing list