From a386c57261b44a02f1d23b533f3220730d18e6ac Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Thu, 5 Jan 2012 07:27:45 +1000 Subject: 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. --- LuaSL/build.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'LuaSL/build.sh') 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" echo $command $command + +command="flex --outfile=LuaSL_LSL_lexer.c --header-file=LuaSL_LSL_lexer.h LuaSL_LSL_lexer.l" +echo $command +$command + +command="btyacc -d -b LuaSL_LSL_yaccer -S btyacc-c.ske LuaSL_LSL_yaccer.y" +echo $command +$command + + -- cgit v1.1