summaryrefslogtreecommitdiff
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
commit588d870234b9b7143fbb0b5927cc80bfdaca219b (patch)
tree40dd4bd0dd5bddc55357c5cc997be6fd37326718 /parse.y
parentb2b3f25c37f489a8ac2a639ac7362397fa309db4 (diff)
* include/ruby/node.h (NODE_FL_NEWLINE): renamed from NODE_NEWLINE
to denote its a flag. [ruby-core:15529] git-svn-id: svn+ssh://ci.ruby-lang.org/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 850595c754..64e9f4e8a6 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;
}