diff options
Diffstat (limited to '')
-rwxr-xr-x | LuaSL/build.sh | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/LuaSL/build.sh b/LuaSL/build.sh index 4a026bb..3b6c64c 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 *.backup ../*.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_lemon_yaccer.h LuaSL_lemon_yaccer.c LuaSL_lemon_yaccer.out |
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,27 +71,20 @@ $command | |||
71 | 71 | ||
72 | 72 | ||
73 | 73 | ||
74 | names="LuaSL_LSL_tree LuaSL_lexer LuaSL_yaccer.tab" | 74 | 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 btyacc twice. | 78 | # Hmmm, we have a circular dependencie with the include fiels each of flex and btyacc generate. So run lemon 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 | ||
81 | command="btyacc -d -t -v -b LuaSL_yaccer -S btyacc-c.ske LuaSL_yaccer.y" | ||
82 | echo $command | ||
83 | $command | ||
84 | 79 | ||
85 | command="flex -C --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l" | 80 | command="flex -C --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l" |
86 | echo $command | 81 | echo $command |
87 | $command | 82 | $command |
88 | 83 | ||
89 | # I want to remove -d, coz I want an enum, not a bunch of #defines, but btyacc creates #defines internally anyway. sigh | 84 | command="lemon -s LuaSL_lemon_yaccer.y" |
90 | command="btyacc -d -t -v -b LuaSL_yaccer -S btyacc-c.ske LuaSL_yaccer.y" | ||
91 | echo $command | 85 | echo $command |
92 | $command | 86 | $command |
93 | 87 | ||
94 | |||
95 | objects="" | 88 | objects="" |
96 | for i in $names | 89 | for i in $names |
97 | do | 90 | do |