diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-16 14:10:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-16 14:10:27 +0000 |
commit | cb65717b458a65ed88f48af9ef0690939212f79b () | |
tree | 6d7fb057c672aca651198938799560f65bc96459 /test/ruby/test_syntax.rb | |
parent | 5c725ba9fecc9775710aa05b5eaab1c5062ae165 (diff) |
parse.y: symbol literals for alias/undef
* defs/keywords (alias, undef): symbol literals are allowed. * parse.y (parse_percent): should parse symbol literals for alias and undef. [ruby-dev:47681] [Bug #8851] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ruby/test_syntax.rb | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -790,6 +790,30 @@ eom end end private def not_label(x) @result = x; @not_label ||= nil end |