[前][次][番号順一覧][スレッド一覧]

ruby-changes:60241

From: Nobuyoshi <ko1@a...>
Date: Sat, 29 Feb 2020 21:46:18 +0900 (JST)
Subject: [ruby-changes:60241] 403675e8dc (master): Named `tLABEL` token

https://git.ruby-lang.org/ruby.git/commit/?id=403675e8dc

From 403675e8dc0f4b9e6b79ace649db1851e7cbba51 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 29 Feb 2020 20:52:53 +0900
Subject: Named `tLABEL` token


diff --git a/parse.y b/parse.y
index 34f8fef..cc6f4b7 100644
--- a/parse.y
+++ b/parse.y
@@ -1060,7 +1060,7 @@ static int looking_at_eol_p(struct parser_params *p); https://github.com/ruby/ruby/blob/trunk/parse.y#L1060
 %token <id>   tIVAR          "instance variable"
 %token <id>   tCONSTANT      "constant"
 %token <id>   tCVAR          "class variable"
-%token <id>   tLABEL
+%token <id>   tLABEL         "label"
 %token <node> tINTEGER       "integer literal"
 %token <node> tFLOAT         "float literal"
 %token <node> tRATIONAL      "rational literal"
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]