From 9ad38f79de2255256a45b82efe3d8924a52d659f Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 9 Jan 2012 10:51:58 +1000 Subject: 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 --- LuaSL/src/LuaSL_LSL_tree.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'LuaSL/src/LuaSL_LSL_tree.c') 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) } } -int yyerror(const char *msg) -{ - fprintf(stderr, "Parser error: %s\n", msg); - return 0; -} - int main(int argc, char **argv) { char *programName = argv[0]; -- cgit v1.1