diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-17 15:56:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-17 15:56:28 +0000 |
commit | c85347f8b185db92452277e739f4b65c91404b97 (patch) | |
tree | db904775f56c65bf29a9723f0f3aa5237d44ae5f | |
parent | 2f32af52c4a03ed483690bab660b65a8237abedd (diff) |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | parse.y | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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. @@ -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; |