rm current_open_file
authorken <ken@mihrtec.com>
Fri, 28 Oct 2016 02:01:32 +0000 (19:01 -0700)
committerken <ken@mihrtec.com>
Fri, 28 Oct 2016 02:01:32 +0000 (19:01 -0700)
src/apc/lexer.c

index 63b17b6..940ee81 100644 (file)
@@ -47,8 +47,6 @@ int         dredge_current_depth(void);
 extern //bison
 YYSTYPE     yylval;
 static
 extern //bison
 YYSTYPE     yylval;
 static
-FILE*       current_open_file;
-static
 char const* current_filename;
 static
 struct tok
 char const* current_filename;
 static
 struct tok
@@ -93,7 +91,6 @@ int lexer_init
 ()
 { TK_INIT();
   DE_INIT();
 ()
 { TK_INIT();
   DE_INIT();
-  current_open_file = NULL;
   current_filename  = NULL;
   return scanner_init();
 }
   current_filename  = NULL;
   return scanner_init();
 }