problem in bison patch

Edd Budulea e_timotei at yahoo.com
Wed Jan 5 09:55:55 UTC 2005


hi the bison patch for the bison v 1.875 has in <CR>
where it should not.
the actual patch has:
-#define YYERROR		goto yyerrlab1
+#define YYERROR	        ]b4_location_if([do
+\
+                         {                           
 \
+                           yylerrsp = yylsp;         
 \
+                           *++yylerrsp = yyloc;      
 \

with will make bison generate an uncompilable source
the patch should be like:
-#define YYERROR		goto yyerrlab1
+
+#define YYERROR	        ]b4_location_if([do \
+                         {                           
 \
+                           yylerrsp = yylsp;         
 \
+                           *++yylerrsp = yyloc;      
 \

in this way it will compile.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Lunar mailing list