bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

goto bug report


From: Justyna Sidorska
Subject: goto bug report
Date: Sat, 27 Mar 2004 20:49:00 +0100
User-agent: Mutt/1.4.1i

Hello !

While compiling the parser file generated by bison I get syntax error
before 'goto' in the following section of the file:

/*----------------------------------------------------.
| yyerrlab1 -- error raised explicitly by an action.  |
`----------------------------------------------------*/
yyerrlab1:

  /* Suppress GCC warning that yyerrlab1 is unused when no action
     invokes YYERROR.  */
#if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__)
  __attribute__ ((__unused__))
#endif


  goto yyerrlab2;

When I comment the preprocessor code out everything goes fine. It
refers to bison 1.875 and gcc 3.2.3 (actually, I use g++). The issue
doesn't show up in bison 1.75.

Best regards,
Justyna Sidorska





reply via email to

[Prev in Thread] Current Thread [Next in Thread]