aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/build.sh
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-06 16:26:37 +1000
committerDavid Walter Seikel2012-01-06 16:26:37 +1000
commit01d667b3a6c88476586ec4c1be6c325dd3be2bfe (patch)
treec95e0b829990bd19c84f9579dc2efd10dec58ea9 /LuaSL/build.sh
parentUse the LSL_ enums for parser tokens. Some clean up and debugging. (diff)
downloadSledjHamr-01d667b3a6c88476586ec4c1be6c325dd3be2bfe.zip
SledjHamr-01d667b3a6c88476586ec4c1be6c325dd3be2bfe.tar.gz
SledjHamr-01d667b3a6c88476586ec4c1be6c325dd3be2bfe.tar.bz2
SledjHamr-01d667b3a6c88476586ec4c1be6c325dd3be2bfe.tar.xz
Add more debugging stuff.
Diffstat (limited to '')
-rwxr-xr-xLuaSL/build.sh8
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
52EDJE_FLAGS="-id images -fd fonts" 52EDJE_FLAGS="-id images -fd fonts"
53 53
54rm -f ../LuaSL ../LuaSL_parser ../*.o *.output ../*.edj LuaSL_lexer.h LuaSL_lexer.c LuaSL_yaccer.h LuaSL_yaccer.tab.c 54rm -f ../LuaSL ../LuaSL_parser ../*.o *.output *.backup ../*.edj LuaSL_lexer.h LuaSL_lexer.c LuaSL_yaccer.h LuaSL_yaccer.tab.c
55command="edje_cc $EDJE_FLAGS LuaSL.edc ../LuaSL.edj" 55command="edje_cc $EDJE_FLAGS LuaSL.edc ../LuaSL.edj"
56echo $command 56echo $command
57$command 57$command
@@ -71,12 +71,14 @@ $command
71 71
72 72
73 73
74names="LuaSL_parser LuaSL_LSL_tree LuaSL_lexer LuaSL_yaccer.tab" 74names="LuaSL_LSL_tree LuaSL_lexer LuaSL_yaccer.tab"
75 75
76command="flex --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l" 76LFLAGS="-d"
77command="flex -dbpv --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l"
77echo $command 78echo $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.
81command="btyacc -d -v -b LuaSL_yaccer -S btyacc-c.ske LuaSL_yaccer.y" 83command="btyacc -d -v -b LuaSL_yaccer -S btyacc-c.ske LuaSL_yaccer.y"
82echo $command 84echo $command