diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-16 12:16:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-16 12:16:59 +0000 |
commit | c8348d0cfa13471e190a412fb2e0b8177bd90941 (patch) | |
tree | 96e0c89ade172375372a6ddebb58158c201b6750 /parse.y | |
parent | c12af76763a1bff53ed77bc4d236f441d8679880 (diff) | |
download | bundler-c8348d0cfa13471e190a412fb2e0b8177bd90941.tar.gz |
parse.y: should not deent concatenated string
* parse.y (xstring): reset heredoc indent after dedenting,
so that following string literal would not be dedented.
[ruby-core:72857] [Bug #11990]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3950,6 +3950,7 @@ xstring : tXSTRING_BEG xstring_contents tSTRING_END /*% %*/ heredoc_dedent($2); + heredoc_indent = 0; /*%%%*/ if (!node) { node = NEW_XSTR(STR_NEW0()); |