aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-21 22:45:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-21 22:45:26 +0000
commitbe63975f95c0b747d64cd121bfe7d462b0f40ec7 (patch)
tree48c684acd32119172612b38f139f9debf4e877cd /parse.y
parentbb4b8921ab42af25bfba81d59344de5847f8683c (diff)
downloadruby-be63975f95c0b747d64cd121bfe7d462b0f40ec7.tar.gz
Revert r56856
* parse.y: tCHAR can be concatenated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56863 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 4c2d032d07..f9acacc0fb 100644
--- a/parse.y
+++ b/parse.y
@@ -3869,10 +3869,10 @@ strings : string
$$ = $1;
%*/
}
- | tCHAR
;
-string : string1
+string : tCHAR
+ | string1
| string string1
{
/*%%%*/