summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-19 16:20:24 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-19 16:20:24 +0000
commita950323a9d4df94955653b34685d5a11d362d124 (patch)
tree70ebe0585180893ee67f81012ecd74bf0da0a218 /parse.y
parenta408b29f971b701220bfed2c2498e241a69d948a (diff)
* parse.y (str_extend): should not terminate string interpolation
with newlines in here-docs and newline terminated strings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index 7f0eb4a6ef..834ce3115e 100644
--- a/parse.y
+++ b/parse.y
@@ -3854,6 +3854,7 @@ str_extend(list, term)
newtok();
return list;
}
+ case '\n':
tokadd(c);
break;
}