From c85347f8b185db92452277e739f4b65c91404b97 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 17 Oct 2006 15:56:28 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ parse.y | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 660ed9f8e7..984b11f878 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Oct 18 00:55:33 2006 Nobuyoshi Nakada + + * parse.y (parser_yylex): use particular enums. [ruby-core:09221] + Tue Oct 17 22:03:08 2006 Minero Aoki * lib/erb.rb: String#each was removed, use #each_line instead. diff --git a/parse.y b/parse.y index 5326daf79f..5b963aaef1 100644 --- a/parse.y +++ b/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;