aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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