aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/build.sh
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-15 21:39:54 +1000
committerDavid Walter Seikel2012-01-15 21:39:54 +1000
commit01c1728501f05ed76ed848537316314ff62f0e76 (patch)
treef98dd2cb14df7733f2af606bb822c809873f46e2 /LuaSL/build.sh
parentUpdated comment about modulo. (diff)
downloadSledjHamr-01c1728501f05ed76ed848537316314ff62f0e76.zip
SledjHamr-01c1728501f05ed76ed848537316314ff62f0e76.tar.gz
SledjHamr-01c1728501f05ed76ed848537316314ff62f0e76.tar.bz2
SledjHamr-01c1728501f05ed76ed848537316314ff62f0e76.tar.xz
Re-arrange lemon to run before frex due to dependencies.
Diffstat (limited to '')
-rwxr-xr-xLuaSL/build.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/LuaSL/build.sh b/LuaSL/build.sh
index 3b6c64c..38f09f6 100755
--- a/LuaSL/build.sh
+++ b/LuaSL/build.sh
@@ -75,13 +75,12 @@ names="LuaSL_LSL_tree LuaSL_lexer LuaSL_lemon_yaccer"
75 75
76LFLAGS="-d" 76LFLAGS="-d"
77 77
78# Hmmm, we have a circular dependencie with the include fiels each of flex and btyacc generate. So run lemon twice? 78# Run lemon first, flex depends on it to define the symbol values.
79 79command="lemon -s LuaSL_lemon_yaccer.y"
80command="flex -C --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l"
81echo $command 80echo $command
82$command 81$command
83 82
84command="lemon -s LuaSL_lemon_yaccer.y" 83command="flex -C --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l"
85echo $command 84echo $command
86$command 85$command
87 86