summaryrefslogtreecommitdiff
path: root/hwpfilter/source/grammar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/grammar.cxx')
-rw-r--r--hwpfilter/source/grammar.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/hwpfilter/source/grammar.cxx b/hwpfilter/source/grammar.cxx
index d2c91860aeb6..fdcdbb139d75 100644
--- a/hwpfilter/source/grammar.cxx
+++ b/hwpfilter/source/grammar.cxx
@@ -1175,12 +1175,13 @@ yyerrhandle:
return 1;
}
-
Node *mainParse(const char *_code)
{
initFlex( _code );
top = nullptr;
yyparse();
+ deinitFlex();
+
if( top )
return top;
else