From: Jay Freeman (saurik) Date: Sat, 11 Oct 2014 21:56:44 +0000 (-0700) Subject: Setup for adding code to Bison implementation file. X-Git-Tag: v0.9.503~17 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/c5aeb567fb12928016baaadce256700e21e1f5bc Setup for adding code to Bison implementation file. --- diff --git a/Cycript.yy.in b/Cycript.yy.in index f761c26..d9b9a1d 100644 --- a/Cycript.yy.in +++ b/Cycript.yy.in @@ -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"