diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-10-27 18:00:37 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-10-27 18:00:37 +0900 |
| commit | 9d8be78f3a3a6144dc1270578c2739311b44af75 (patch) | |
| tree | 266a5f6237c5ea1f23df7209c13aafe48e92dfcb /src | |
| parent | 0e3b3bbc0842e0a096beee33df71496d4966216f (diff) | |
| parent | 34175bf41fd46696341369fa7127399dd48a98ba (diff) | |
| download | mruby-9d8be78f3a3a6144dc1270578c2739311b44af75.tar.gz mruby-9d8be78f3a3a6144dc1270578c2739311b44af75.zip | |
Merge pull request #2620 from suzukaze/refactor-yylex
Refactor yylex func
Diffstat (limited to 'src')
| -rw-r--r-- | src/parse.y | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/parse.y b/src/parse.y index b47819105..644250079 100644 --- a/src/parse.y +++ b/src/parse.y @@ -5312,12 +5312,8 @@ parser_yylex(parser_state *p) static int yylex(void *lval, parser_state *p) { - int t; - p->ylval = lval; - t = parser_yylex(p); - - return t; + return parser_yylex(p); } static void |
