diff options
Diffstat (limited to 'LuaSL/build.sh')
-rwxr-xr-x | LuaSL/build.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/LuaSL/build.sh b/LuaSL/build.sh index 9e5e2b7..2573073 100755 --- a/LuaSL/build.sh +++ b/LuaSL/build.sh | |||
@@ -51,7 +51,7 @@ names="LuaSL_main LuaSL_compile LuaSL_utilities" | |||
51 | 51 | ||
52 | EDJE_FLAGS="-id images -fd fonts" | 52 | EDJE_FLAGS="-id images -fd fonts" |
53 | 53 | ||
54 | rm -f ../LuaSL ../LuaSL_parser ../*.o *.output ../*.edj LuaSL_lexer.h LuaSL_lexer.c LuaSL_yaccer.h LuaSL_yaccer.tab.c | 54 | rm -f ../LuaSL ../LuaSL_parser ../*.o *.output *.backup ../*.edj LuaSL_lexer.h LuaSL_lexer.c LuaSL_yaccer.h LuaSL_yaccer.tab.c |
55 | command="edje_cc $EDJE_FLAGS LuaSL.edc ../LuaSL.edj" | 55 | command="edje_cc $EDJE_FLAGS LuaSL.edc ../LuaSL.edj" |
56 | echo $command | 56 | echo $command |
57 | $command | 57 | $command |
@@ -71,12 +71,14 @@ $command | |||
71 | 71 | ||
72 | 72 | ||
73 | 73 | ||
74 | names="LuaSL_parser LuaSL_LSL_tree LuaSL_lexer LuaSL_yaccer.tab" | 74 | names="LuaSL_LSL_tree LuaSL_lexer LuaSL_yaccer.tab" |
75 | 75 | ||
76 | command="flex --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l" | 76 | LFLAGS="-d" |
77 | command="flex -dbpv --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l" | ||
77 | echo $command | 78 | echo $command |
78 | $command | 79 | $command |
79 | 80 | ||
81 | # I want to remove -d, coz I want an enum, not a bunch of #defines, but btyacc creates #defines internally anyway. sigh | ||
80 | # Should add -t as well for debugging, but it causes errors. | 82 | # Should add -t as well for debugging, but it causes errors. |
81 | command="btyacc -d -v -b LuaSL_yaccer -S btyacc-c.ske LuaSL_yaccer.y" | 83 | command="btyacc -d -v -b LuaSL_yaccer -S btyacc-c.ske LuaSL_yaccer.y" |
82 | echo $command | 84 | echo $command |