summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-18 05:33:01 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-18 05:33:01 +0000
commit47e494c0121c8f060094acfe72ace58d0e547891 (patch)
tree40dd4bd0dd5bddc55357c5cc997be6fd37326718 /parse.y
parenta03c7923b2d639c80e22d5483251ed7459f451bc (diff)
downloadruby-47e494c0121c8f060094acfe72ace58d0e547891.tar.gz
ruby-47e494c0121c8f060094acfe72ace58d0e547891.tar.xz
ruby-47e494c0121c8f060094acfe72ace58d0e547891.zip
* include/ruby/node.h (NODE_FL_NEWLINE): renamed from NODE_NEWLINE
to denote its a flag. [ruby-core:15529] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index 850595c75..64e9f4e8a 100644
--- a/parse.y
+++ b/parse.y
@@ -3844,7 +3844,7 @@ string_content : tSTRING_CONTENT
COND_LEXPOP();
CMDARG_LEXPOP();
/*%%%*/
- if ($3) $3->flags &= ~NODE_NEWLINE;
+ if ($3) $3->flags &= ~NODE_FL_NEWLINE;
$$ = new_evstr($3);
/*%
$$ = dispatch1(string_embexpr, $3);
@@ -7339,7 +7339,7 @@ newline_node(NODE *node)
{
if (node) {
node = remove_begin(node);
- node->flags |= NODE_NEWLINE;
+ node->flags |= NODE_FL_NEWLINE;
}
return node;
}