From b84f94b14e3cace8dfe4569cbf6e49c8d39deea2 Mon Sep 17 00:00:00 2001 From: ken Date: Thu, 27 Oct 2016 16:58:18 -0700 Subject: [PATCH] current --- src/apc/lexer.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/apc/lexer.c b/src/apc/lexer.c index 53b0c44..63b17b6 100644 --- a/src/apc/lexer.c +++ b/src/apc/lexer.c @@ -47,6 +47,8 @@ int dredge_current_depth(void); extern //bison YYSTYPE yylval; static +FILE* current_open_file; +static char const* current_filename; static struct tok @@ -91,6 +93,8 @@ int lexer_init () { TK_INIT(); DE_INIT(); + current_open_file = NULL; + current_filename = NULL; return scanner_init(); } -- 2.18.0