aboutsummaryrefslogtreecommitdiff
path: root/src/lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/lex.l')
-rw-r--r--src/lex.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lex.l b/src/lex.l
index 919bbad..d8d9eb0 100644
--- a/src/lex.l
+++ b/src/lex.l
@@ -100,6 +100,8 @@ context_pop ()
fclose (yyin);
yyin = NULL;
free (point.file);
+ point.file = NULL;
+ memset (&yylloc, 0, sizeof (yylloc));
if (!cp)
return 1;

Return to:

Send suggestions and report system problems to the System administrator.