1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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:
nobu 2006-10-17 15:56:28 +00:00
parent 2f32af52c4
commit c85347f8b1
2 changed files with 6 additions and 2 deletions

View file

@ -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> Tue Oct 17 22:03:08 2006 Minero Aoki <aamine@loveruby.net>
* lib/erb.rb: String#each was removed, use #each_line instead. * lib/erb.rb: String#each was removed, use #each_line instead.

View file

@ -6498,13 +6498,13 @@ parser_yylex(struct parser_params *parser)
return tSTRING_BEG; return tSTRING_BEG;
case 'W': 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)); do {c = nextc();} while (ISSPACE(c));
pushback(c); pushback(c);
return tWORDS_BEG; return tWORDS_BEG;
case 'w': 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)); do {c = nextc();} while (ISSPACE(c));
pushback(c); pushback(c);
return tQWORDS_BEG; return tQWORDS_BEG;