projects
/
henge
/
webcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
89094ec
)
current
author
ken
<ken@mihrtec.com>
Thu, 27 Oct 2016 23:58:18 +0000
(16:58 -0700)
committer
ken
<ken@mihrtec.com>
Thu, 27 Oct 2016 23:58:18 +0000
(16:58 -0700)
src/apc/lexer.c
patch
|
blob
|
history
diff --git
a/src/apc/lexer.c
b/src/apc/lexer.c
index
53b0c44
..
63b17b6
100644
(file)
--- 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();
}