Commit 9d8be78f authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #2620 from suzukaze/refactor-yylex

Refactor yylex func
parents 0e3b3bbc 34175bf4
...@@ -5312,12 +5312,8 @@ parser_yylex(parser_state *p) ...@@ -5312,12 +5312,8 @@ parser_yylex(parser_state *p)
static int static int
yylex(void *lval, parser_state *p) yylex(void *lval, parser_state *p)
{ {
int t;
p->ylval = lval; p->ylval = lval;
t = parser_yylex(p); return parser_yylex(p);
return t;
} }
static void static void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment