aboutsummaryrefslogtreecommitdiff
path: root/src/lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/lex.l')
-rw-r--r--src/lex.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lex.l b/src/lex.l
index 7840794..7faf046 100644
--- a/src/lex.l
+++ b/src/lex.l
@@ -133,17 +133,17 @@ input_context_pop (void)
133 instream_close (context_tos->input); 133 instream_close (context_tos->input);
134 free (context_tos->point.file); 134 free (context_tos->point.file);
135 memset (&yylloc, 0, sizeof (yylloc)); 135 memset (&yylloc, 0, sizeof (yylloc));
136 cp = context_tos->parent; 136 cp = context_tos->parent;
137 free (context_tos); 137 free (context_tos);
138 context_tos = cp; 138 context_tos = cp;
139 yy_delete_buffer (YY_CURRENT_BUFFER);
139 if (!cp) 140 if (!cp)
140 return 1; 141 return 1;
141 142
142 yylloc = cp->locus; 143 yylloc = cp->locus;
143 yy_delete_buffer (YY_CURRENT_BUFFER);
144 yy_switch_to_buffer (cp->buf); 144 yy_switch_to_buffer (cp->buf);
145 145
146 return 0; 146 return 0;
147} 147}
148 148
149static int 149static int

Return to:

Send suggestions and report system problems to the System administrator.