diff options
author | David Walter Seikel | 2012-01-05 07:27:45 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-05 07:27:45 +1000 |
commit | a386c57261b44a02f1d23b533f3220730d18e6ac (patch) | |
tree | 95d59f2dce9e428a8e759c0fc03458f812cf1478 /LuaSL/build.sh | |
parent | Make the btyacc stuff a little more reentrant to match bison. (diff) | |
download | SledjHamr-a386c57261b44a02f1d23b533f3220730d18e6ac.zip SledjHamr-a386c57261b44a02f1d23b533f3220730d18e6ac.tar.gz SledjHamr-a386c57261b44a02f1d23b533f3220730d18e6ac.tar.bz2 SledjHamr-a386c57261b44a02f1d23b533f3220730d18e6ac.tar.xz |
Added the unadulterated flex and bison source files from the SL viewer.
Actually, from meta-impy, but originaly from one of the SL viewers.
They actually produce C files, though some of it is C++.
The resulting files wont compile without lots of C++ files from the viewer.
Still, it's a step in the right direction.
"btyacc: 88 reduce/reduce conflicts." might be a worry though.
Diffstat (limited to 'LuaSL/build.sh')
-rwxr-xr-x | LuaSL/build.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/LuaSL/build.sh b/LuaSL/build.sh index 9f2420b..bf82075 100755 --- a/LuaSL/build.sh +++ b/LuaSL/build.sh | |||
@@ -94,3 +94,13 @@ command="gcc $CFLAGS -o ../LuaSL_parser $objects $LDFLAGS $libs" | |||
94 | echo $command | 94 | echo $command |
95 | $command | 95 | $command |
96 | 96 | ||
97 | |||
98 | command="flex --outfile=LuaSL_LSL_lexer.c --header-file=LuaSL_LSL_lexer.h LuaSL_LSL_lexer.l" | ||
99 | echo $command | ||
100 | $command | ||
101 | |||
102 | command="btyacc -d -b LuaSL_LSL_yaccer -S btyacc-c.ske LuaSL_LSL_yaccer.y" | ||
103 | echo $command | ||
104 | $command | ||
105 | |||
106 | |||