diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | match.c | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2014-01-07 Kaz Kylheku <kaz@kylheku.com> + + * match.c (v_load): Call yylex_destroy after yyparse, so we don't + have stray scanner state possibly interfering with a subsquent + parse job. + 2014-01-06 Kaz Kylheku <kaz@kylheku.com> * genvim.txr: Add forgotten until and last keywords. @@ -3583,6 +3583,7 @@ static val v_load(match_files_ctx *c) int gc = gc_state(0); parse_reset(path); yyparse(); + yylex_destroy(); gc_state(gc); if (errors) |