* 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
@ -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>
|
Sat Jul 13 09:30:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||||
|
|
||||||
* parse.y (literal_concat_string): wrong optimization.
|
* parse.y (literal_concat_string): wrong optimization.
|
||||||
|
6
parse.y
6
parse.y
@ -2957,12 +2957,12 @@ heredoc_identifier()
|
|||||||
}
|
}
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case '\'':
|
case '\'':
|
||||||
func |= str_squote; goto qutoed;
|
func |= str_squote; goto quoted;
|
||||||
case '"':
|
case '"':
|
||||||
func |= str_dquote; goto qutoed;
|
func |= str_dquote; goto quoted;
|
||||||
case '`':
|
case '`':
|
||||||
func |= str_xquote;
|
func |= str_xquote;
|
||||||
qutoed:
|
quoted:
|
||||||
newtok();
|
newtok();
|
||||||
tokadd(func);
|
tokadd(func);
|
||||||
term = c;
|
term = c;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user