projects
/
henge
/
apc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9f1d945
)
minor changes to assignment to uninitialized variable
author
ken
<ken@mihrtec.com>
Fri, 16 Dec 2016 05:40:58 +0000
(21:40 -0800)
committer
ken
<ken@mihrtec.com>
Fri, 16 Dec 2016 05:40:58 +0000
(21:40 -0800)
src/lexer.c
patch
|
blob
|
history
diff --git
a/src/lexer.c
b/src/lexer.c
index
1550db9
..
97e5e98
100644
(file)
--- a/
src/lexer.c
+++ b/
src/lexer.c
@@
-54,8
+54,6
@@
extern //scanner.c
int scanner_init(void);
extern //scanner.c
int scanner(void);
int scanner_init(void);
extern //scanner.c
int scanner(void);
-static inline
-int dredge_current_depth(void);
extern //bison
YYSTYPE yylval;
static
extern //bison
YYSTYPE yylval;
static
@@
-221,7
+219,7
@@
int lexer_lexfilename
/* Determine the filetype of str */
len = u8_strlen(str);
/* Determine the filetype of str */
len = u8_strlen(str);
- ntok
+
= lexer_lexstring(str, len);
+ ntok = lexer_lexstring(str, len);
/* Pass back filepath as end of statment operator */
filepath = u8_strdup(lexer_get_current_filepath());
/* Pass back filepath as end of statment operator */
filepath = u8_strdup(lexer_get_current_filepath());