]> git.saurik.com Git - cycript.git/commitdiff
Setup for adding code to Bison implementation file.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 11 Oct 2014 21:56:44 +0000 (14:56 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 11 Oct 2014 21:56:44 +0000 (14:56 -0700)
Cycript.yy.in

index f761c260e298b3451a58e6977583326ea8c6eddd..d9b9a1da9c8e3e64ae8609b1610f3a03f5bfc569 100644 (file)
@@ -110,12 +110,17 @@ typedef struct {
 } YYSTYPE;
 
 #define YYSTYPE YYSTYPE
-@if Bison24 }
 
 @if Bison24 %code provides {
 int cylex(YYSTYPE *, cy::location *, void *);
 @if Bison24 }
 
+@if Bison23 %}
+@if Bison23 %union {
+@if Bison23 }
+@if Bison23 %{
+
+@if Bison24 }
 @if Bison23 %}
 
 %name-prefix="cy"