aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_LSL_tree.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-09 10:51:58 +1000
committerDavid Walter Seikel2012-01-09 10:51:58 +1000
commit9ad38f79de2255256a45b82efe3d8924a52d659f (patch)
tree2fc3280795c54283e4912b4a62ea8e4efff5fde7 /LuaSL/src/LuaSL_LSL_tree.c
parentMissed this. (diff)
downloadSledjHamr-9ad38f79de2255256a45b82efe3d8924a52d659f.zip
SledjHamr-9ad38f79de2255256a45b82efe3d8924a52d659f.tar.gz
SledjHamr-9ad38f79de2255256a45b82efe3d8924a52d659f.tar.bz2
SledjHamr-9ad38f79de2255256a45b82efe3d8924a52d659f.tar.xz
Moved yyerror() into the flex source. Added a count function, CHAR, STRING, and comment stripping.
Well, half of comment stripping, it will fail without the other half. lol
Diffstat (limited to 'LuaSL/src/LuaSL_LSL_tree.c')
-rw-r--r--LuaSL/src/LuaSL_LSL_tree.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/LuaSL/src/LuaSL_LSL_tree.c b/LuaSL/src/LuaSL_LSL_tree.c
index 48415fc..76dd433 100644
--- a/LuaSL/src/LuaSL_LSL_tree.c
+++ b/LuaSL/src/LuaSL_LSL_tree.c
@@ -404,12 +404,6 @@ static void convertAST2Lua(LSL_AST *ast)
404 } 404 }
405} 405}
406 406
407int yyerror(const char *msg)
408{
409 fprintf(stderr, "Parser error: %s\n", msg);
410 return 0;
411}
412
413int main(int argc, char **argv) 407int main(int argc, char **argv)
414{ 408{
415 char *programName = argv[0]; 409 char *programName = argv[0];