ruby-changes:50060
From: nobu <ko1@a...>
Date: Sat, 3 Feb 2018 16:30:43 +0900 (JST)
Subject: [ruby-changes:50060] nobu:r62178 (trunk): parse.y: named backslash
nobu 2018-02-03 16:30:39 +0900 (Sat, 03 Feb 2018) New Revision: 62178 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62178 Log: parse.y: named backslash * parse.y: named backslash to show unexpected character. Modified files: trunk/parse.y Index: parse.y =================================================================== --- parse.y (revision 62177) +++ parse.y (revision 62178) @@ -836,6 +836,7 @@ static void token_info_pop(struct parser https://github.com/ruby/ruby/blob/trunk/parse.y#L836 %type <id> f_kwrest f_label f_arg_asgn call_op call_op2 reswords relop dot_or_colon %token END_OF_INPUT 0 "end-of-input" %token <id> '.' +%token <id> '\\' "backslash" %token tUPLUS RUBY_TOKEN(UPLUS) "unary+" %token tUMINUS RUBY_TOKEN(UMINUS) "unary-" %token tPOW RUBY_TOKEN(POW) "**" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/