From c5aeb567fb12928016baaadce256700e21e1f5bc Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 11 Oct 2014 14:56:44 -0700 Subject: [PATCH] Setup for adding code to Bison implementation file. --- Cycript.yy.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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" -- 2.50.0