aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xLuaSL/build.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/LuaSL/build.sh b/LuaSL/build.sh
index 4f2e5e8..4a026bb 100755
--- a/LuaSL/build.sh
+++ b/LuaSL/build.sh
@@ -74,6 +74,14 @@ $command
74names="LuaSL_LSL_tree LuaSL_lexer LuaSL_yaccer.tab" 74names="LuaSL_LSL_tree LuaSL_lexer LuaSL_yaccer.tab"
75 75
76LFLAGS="-d" 76LFLAGS="-d"
77
78# Hmmm, we have a circular dependencie with the include fiels each of flex and btyacc generate. So run btyacc twice.
79
80# I want to remove -d, coz I want an enum, not a bunch of #defines, but btyacc creates #defines internally anyway. sigh
81command="btyacc -d -t -v -b LuaSL_yaccer -S btyacc-c.ske LuaSL_yaccer.y"
82echo $command
83$command
84
77command="flex -C --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l" 85command="flex -C --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l"
78echo $command 86echo $command
79$command 87$command
@@ -83,6 +91,7 @@ command="btyacc -d -t -v -b LuaSL_yaccer -S btyacc-c.ske LuaSL_yaccer.y"
83echo $command 91echo $command
84$command 92$command
85 93
94
86objects="" 95objects=""
87for i in $names 96for i in $names
88do 97do