summaryrefslogtreecommitdiff
path: root/glcpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'glcpp.c')
-rw-r--r--glcpp.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/glcpp.c b/glcpp.c
index 09641ceead..90a0e89cfa 100644
--- a/glcpp.c
+++ b/glcpp.c
@@ -24,5 +24,12 @@
int
main (void)
{
- return yyparse ();
+ int ret;
+ void *scanner;
+
+ yylex_init (&scanner);
+ ret = yyparse (scanner);
+ yylex_destroy (scanner);
+
+ return ret;
}