summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/scanner.l b/src/scanner.l
index d908a8fe..ba60ec17 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -662,7 +662,6 @@ static struct error_record *scanner_push_file(void *scanner, const char *filenam
state->indesc->location = *loc;
state->indesc->type = INDESC_FILE;
state->indesc->name = xstrdup(filename);
- state->indesc->fp = f;
init_pos(state);
return NULL;
}
@@ -891,7 +890,6 @@ void scanner_destroy(void *scanner)
if (inpdesc && inpdesc->name) {
xfree(inpdesc->name);
inpdesc->name = NULL;
- fclose(inpdesc->fp);
}
yypop_buffer_state(scanner);
} while (state->indesc_idx--);