1
0
Fork 0
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:
aamine 2002-07-15 01:33:36 +00:00
parent 702dee81ad
commit 141d0c380f
2 changed files with 7 additions and 3 deletions

View file

@ -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.

View file

@ -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;