mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parse.y: named backslash
* parse.y: named backslash to show unexpected character. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bd5406dfa9
commit
7036c4062e
1 changed files with 1 additions and 0 deletions
1
parse.y
1
parse.y
|
@ -836,6 +836,7 @@ static void token_info_pop(struct parser_params*, const char *token, const rb_co
|
|||
%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) "**"
|
||||
|
|
Loading…
Reference in a new issue