1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* parse.y (parser_yylex): small error fixed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2005-06-07 08:35:04 +00:00
parent 549c345cef
commit a99cc44c8d
2 changed files with 5 additions and 2 deletions

View file

@ -3,8 +3,10 @@ Tue Jun 7 17:20:39 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (parser_yylex): allow ';;' to be block terminator in
place of 'end'. [highly experimental]
* misc/ruby-mode.el (ruby-block-end-re): allow ';;' for a negative
indent trigger. [highly experimental]
* misc/ruby-mode.el (ruby-block-end-re): allow ';;' to be a
negative indent trigger. [highly experimental]
* parse.y (parser_yylex): small error fixed.
Tue Jun 7 16:45:49 2005 Yukihiro Matsumoto <matz@ruby-lang.org>

View file

@ -6309,6 +6309,7 @@ parser_yylex(parser)
return kEND;
}
pushback(c);
c = ';';
command_start = Qtrue;
case ',':
lex_state = EXPR_BEG;