summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-24 07:12:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-24 07:12:43 +0000
commit70d2b335f29934411698c3dd98374b6979dc1486 (patch)
tree1aaf85517f2358b8442f3394250852007aefff04
parentba516bc317c650631c258948dc2b67513a4c0947 (diff)
parse.y: fix dispatch_scan_event
* parse.y (dispatch_scan_event): fix wrong macro at r52547. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 1662872..5f3c868 100644
--- a/parse.y
+++ b/parse.y
@@ -5270,6 +5270,7 @@ ripper_dispatch_scan_event(struct parser_params *parser, int t)
if (!ripper_has_scan_event(parser)) return;
yylval_rval = ripper_scan_event_val(parser, t);
}
+#define dispatch_scan_event(t) ripper_dispatch_scan_event(parser, t)
static void
ripper_dispatch_ignored_scan_event(struct parser_params *parser, int t)
@@ -5277,7 +5278,6 @@ ripper_dispatch_ignored_scan_event(struct parser_params *parser, int t)
if (!ripper_has_scan_event(parser)) return;
(void)ripper_scan_event_val(parser, t);
}
-#define dispatch_scan_event(t) ripper_dispatch_ignored_scan_event(parser, t)
static void
ripper_dispatch_delayed_token(struct parser_params *parser, int t)