mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (heredoc_identifier): modify typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
702dee81ad
commit
141d0c380f
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Jul 15 10:35:35 2002 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* parse.y (heredoc_identifier): modify typo.
|
||||
|
||||
Sat Jul 13 09:30:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* parse.y (literal_concat_string): wrong optimization.
|
||||
|
|
6
parse.y
6
parse.y
|
@ -2957,12 +2957,12 @@ heredoc_identifier()
|
|||
}
|
||||
switch (c) {
|
||||
case '\'':
|
||||
func |= str_squote; goto qutoed;
|
||||
func |= str_squote; goto quoted;
|
||||
case '"':
|
||||
func |= str_dquote; goto qutoed;
|
||||
func |= str_dquote; goto quoted;
|
||||
case '`':
|
||||
func |= str_xquote;
|
||||
qutoed:
|
||||
quoted:
|
||||
newtok();
|
||||
tokadd(func);
|
||||
term = c;
|
||||
|
|
Loading…
Reference in a new issue