* parse.y (yylex): should dispatch scan-event even when follows

just after delayed-token.  [ruby-dev:37855] [Bug #1071]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-08-16 14:58:27 +00:00
parent aa3c6d4dd2
commit 114f01bd9d
3 changed files with 10 additions and 1 deletions

View file

@ -7612,7 +7612,6 @@ yylex(void *p)
#ifdef RIPPER
if (!NIL_P(parser->delayed)) {
ripper_dispatch_delayed_token(parser, t);
return t;
}
if (t != 0)
ripper_dispatch_scan_event(parser, t);