projects
/
henge
/
webcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b84f94b
)
rm current_open_file
author
ken
<ken@mihrtec.com>
Fri, 28 Oct 2016 02:01:32 +0000
(19:01 -0700)
committer
ken
<ken@mihrtec.com>
Fri, 28 Oct 2016 02:01:32 +0000
(19:01 -0700)
src/apc/lexer.c
patch
|
blob
|
history
diff --git
a/src/apc/lexer.c
b/src/apc/lexer.c
index
63b17b6
..
940ee81
100644
(file)
--- a/
src/apc/lexer.c
+++ b/
src/apc/lexer.c
@@
-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();
}