summaryrefslogtreecommitdiff
path: root/src/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.y')
-rw-r--r--src/parser.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser.y b/src/parser.y
index 2d78d1f..33fbc3f 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -575,6 +575,7 @@ void yyerror (char const *s)
module = NULL;
}
+extern void lexerdestroy();
extern FILE *lexerin;
extern const char *parser_input_buffer;
const char *parser_input_buffer;
@@ -592,7 +593,7 @@ AbstractModule *parse(const char *text, const char *path, int debug)
parserdebug = debug;
parserparse();
-
+ lexerdestroy();
lexerlex_destroy();
if (!module)
contact: Jan Huwald // Impressum