mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (yylex): case '<': here-document label ate '-'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ce3ea1911a
commit
3caee29585
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed May 22 18:34:23 2002 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* parse.y (yylex): Here-document label ate '-'.
|
||||
|
||||
Tue May 21 13:25:18 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* misc/ruby-mode.el (ruby-font-lock-keywords): symbols end with
|
||||
|
|
3
parse.y
3
parse.y
|
@ -3166,6 +3166,9 @@ yylex()
|
|||
return here_document(c2, indent);
|
||||
}
|
||||
pushback(c2);
|
||||
if (indent) {
|
||||
pushback('-');
|
||||
}
|
||||
}
|
||||
switch (lex_state) {
|
||||
case EXPR_FNAME: case EXPR_DOT:
|
||||
|
|
Loading…
Reference in a new issue