aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-09 07:53:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-09 07:53:52 +0000
commitf83f2e29589935681f4215b3e5fcb6dc4eae7a56 (patch)
treee5efde639bdb0d83386d9336caceb6229107bc3a /parse.y
parent70c8415deeda6e6bb8b4c4c27293051404cd6ae1 (diff)
downloadruby-f83f2e29589935681f4215b3e5fcb6dc4eae7a56.tar.gz
parse.y: fix idCOLON2
* defs/id.def: remove idDSTAR and idCOLON3. * parse.y (tCOLON2): make same as id.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 0e1734bf6a..ba72ac0b80 100644
--- a/parse.y
+++ b/parse.y
@@ -943,7 +943,7 @@ static void token_info_pop_gen(struct parser_params*, const char *token, size_t
%token tLSHFT RUBY_TOKEN(LSHFT) "<<"
%token tRSHFT RUBY_TOKEN(RSHFT) ">>"
%token tANDDOT RUBY_TOKEN(ANDDOT) "&."
-%token tCOLON2 "::"
+%token tCOLON2 RUBY_TOKEN(COLON2) "::"
%token tCOLON3 ":: at EXPR_BEG"
%token <id> tOP_ASGN /* +=, -= etc. */
%token tASSOC "=>"