287 |
{ |
{ |
288 |
struct buffer_ctx *ctx; |
struct buffer_ctx *ctx; |
289 |
|
|
290 |
if (!context_stack) { |
if (!yyin) |
|
yyin = NULL; |
|
291 |
return 1; |
return 1; |
292 |
} |
|
293 |
fclose(yyin); |
fclose(yyin); |
294 |
#ifndef FLEX_SCANNER |
#ifndef FLEX_SCANNER |
295 |
lex_delete_buffer(current_buffer); |
lex_delete_buffer(current_buffer); |
296 |
#endif |
#endif |
297 |
/* Restore previous context */ |
if (!context_stack) { |
298 |
|
yyin = NULL; |
299 |
|
return 1; |
300 |
|
} |
301 |
|
/* Restore previous context */ |
302 |
source_filename = context_stack->filename; |
source_filename = context_stack->filename; |
303 |
source_line_num = context_stack->line; |
source_line_num = context_stack->line; |
304 |
source_inode = context_stack->i_node; |
source_inode = context_stack->i_node; |