diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-22 07:21:40 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-22 07:21:40 +0000 |
| commit | d9b9d8743892c3b544fd4e40bbc7a6df18e65490 (patch) | |
| tree | 53e51b1645687bc93877f6b2c5e66db82124630e | |
| parent | 7ad4b5f38b41f52def9031a3342223632f1e7a7e (diff) | |
| download | ruby-d9b9d8743892c3b544fd4e40bbc7a6df18e65490.tar.gz ruby-d9b9d8743892c3b544fd4e40bbc7a6df18e65490.tar.xz ruby-d9b9d8743892c3b544fd4e40bbc7a6df18e65490.zip | |
* parse.y (string_content): reset lexical states at the beginning of
string contents. [ruby-list:39061]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | parse.y | 4 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Jan 22 16:21:33 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * parse.y (string_content): reset lexical states at the beginning of + string contents. [ruby-list:39061] + Wed Jan 21 21:55:51 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> * lib/drb/drb.rb: remove O_NONBLOCK, thanks \ay @@ -9,7 +14,7 @@ Wed Jan 21 17:57:56 2004 Shugo Maeda <shugo@ruby-lang.org> * lib/net/imap.rb (body): ditto. * lib/net/imap.rb (number): ditto. * lib/net/imap.rb (ensure_nz_number): show a detailed error - message. + message. Wed Jan 21 16:44:20 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> @@ -2063,10 +2063,14 @@ string_content : tSTRING_CONTENT $<node>$ = lex_strterm; lex_strterm = 0; lex_state = EXPR_BEG; + COND_PUSH(0); + CMDARG_PUSH(0); } compstmt '}' { lex_strterm = $<node>2; + COND_LEXPOP(); + CMDARG_LEXPOP(); if (($$ = $3) && nd_type($$) == NODE_NEWLINE) { $$ = $$->nd_next; rb_gc_force_recycle((VALUE)$3); |
