зеркало из https://github.com/github/ruby.git
* parse.y (parser_yylex): use particular enums. [ruby-core:09221]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
2f32af52c4
Коммит
c85347f8b1
|
@ -1,3 +1,7 @@
|
|||
Wed Oct 18 00:55:33 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (parser_yylex): use particular enums. [ruby-core:09221]
|
||||
|
||||
Tue Oct 17 22:03:08 2006 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* lib/erb.rb: String#each was removed, use #each_line instead.
|
||||
|
|
4
parse.y
4
parse.y
|
@ -6498,13 +6498,13 @@ parser_yylex(struct parser_params *parser)
|
|||
return tSTRING_BEG;
|
||||
|
||||
case 'W':
|
||||
lex_strterm = NEW_STRTERM(str_dquote | STR_FUNC_QWORDS, term, paren);
|
||||
lex_strterm = NEW_STRTERM(str_dword, term, paren);
|
||||
do {c = nextc();} while (ISSPACE(c));
|
||||
pushback(c);
|
||||
return tWORDS_BEG;
|
||||
|
||||
case 'w':
|
||||
lex_strterm = NEW_STRTERM(str_squote | STR_FUNC_QWORDS, term, paren);
|
||||
lex_strterm = NEW_STRTERM(str_sword, term, paren);
|
||||
do {c = nextc();} while (ISSPACE(c));
|
||||
pushback(c);
|
||||
return tQWORDS_BEG;
|
||||
|
|
Загрузка…
Ссылка в новой задаче