mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
ba516bc317
commit
70d2b335f2
1 changed files with 1 additions and 1 deletions
2
parse.y
2
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)
|
||||
|
|
Loading…
Reference in a new issue