]> git.saurik.com Git - cycript.git/commitdiff
With Bison 2.4 I can trust yyerrok.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 26 Nov 2009 08:11:22 +0000 (08:11 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 26 Nov 2009 08:11:22 +0000 (08:11 +0000)
Cycript.yy.in

index 46cbd686b376d44d758d030505882e0cd096216d..0181676b32abb9349f0620c2337525438e1df49a 100644 (file)
@@ -42,7 +42,7 @@
 @if Bison24 %code top {
 #define cyscanner driver.scanner_
 #define YYSTACKEXPANDABLE 1
-#define yyerrok (yyerrstatus_ = 0)
+@if Bison23 #define yyerrok (yyerrstatus_ = 0)
 @if Bison24 }
 
 @if Bison24 %code requires {