diff options
author | David Walter Seikel | 2012-01-15 21:39:54 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-15 21:39:54 +1000 |
commit | 01c1728501f05ed76ed848537316314ff62f0e76 (patch) | |
tree | f98dd2cb14df7733f2af606bb822c809873f46e2 /LuaSL | |
parent | Updated comment about modulo. (diff) | |
download | SledjHamr-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 'LuaSL')
-rwxr-xr-x | LuaSL/build.sh | 7 |
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 | ||
76 | LFLAGS="-d" | 76 | LFLAGS="-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 | 79 | command="lemon -s LuaSL_lemon_yaccer.y" | |
80 | command="flex -C --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l" | ||
81 | echo $command | 80 | echo $command |
82 | $command | 81 | $command |
83 | 82 | ||
84 | command="lemon -s LuaSL_lemon_yaccer.y" | 83 | command="flex -C --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l" |
85 | echo $command | 84 | echo $command |
86 | $command | 85 | $command |
87 | 86 | ||