* 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:
nobu 2018-02-03 07:30:39 +00:00
Родитель bd5406dfa9
Коммит 7036c4062e
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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) "**"