summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-18 13:13:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-18 13:13:23 +0000
commit9f8b0361233fcd4bbc5cfb45ca41847ac960de16 (patch)
tree6804ec8410433902d92a0a99126027164a580154 /parse.y
parentabdb3373230b3e601e46e9eac11c0edd6d9449cf (diff)
* parse.y (string_content): cond_stack and cmdarg_stack are VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/parse.y b/parse.y
index 6a33f08e35..3d8ec4100c 100644
--- a/parse.y
+++ b/parse.y
@@ -4030,8 +4030,8 @@ string_content : tSTRING_CONTENT
}
| tSTRING_DBEG
{
- $<num>1 = cond_stack;
- $<num>$ = cmdarg_stack;
+ $<val>1 = cond_stack;
+ $<val>$ = cmdarg_stack;
cond_stack = 0;
cmdarg_stack = 0;
}
@@ -4042,8 +4042,8 @@ string_content : tSTRING_CONTENT
}
compstmt '}'
{
- cond_stack = $<num>1;
- cmdarg_stack = $<num>2;
+ cond_stack = $<val>1;
+ cmdarg_stack = $<val>2;
lex_strterm = $<node>3;
/*%%%*/
if ($4) $4->flags &= ~NODE_FL_NEWLINE;