Remove unused token definitions for tRPAREN
in Ripper and parser files
This commit is contained in:
parent
8fb17f86d7
commit
de8deb5f9c
Notes:
git
2025-01-06 22:18:15 +00:00
@ -255,7 +255,6 @@ ripper_token2eventid(enum yytokentype tok)
|
||||
[tRATIONAL] = O(rational),
|
||||
[tREGEXP_BEG] = O(regexp_beg),
|
||||
[tREGEXP_END] = O(regexp_end),
|
||||
[tRPAREN] = O(rparen),
|
||||
[tRSHFT] = O(op),
|
||||
[tSTAR] = O(op),
|
||||
[tDSTAR] = O(op),
|
||||
|
2
parse.y
2
parse.y
@ -967,7 +967,6 @@ parser_token2char(struct parser_params *p, enum yytokentype tok)
|
||||
TOKEN2CHAR(tASSOC);
|
||||
TOKEN2CHAR(tLPAREN);
|
||||
TOKEN2CHAR(tLPAREN_ARG);
|
||||
TOKEN2CHAR(tRPAREN);
|
||||
TOKEN2CHAR(tLBRACK);
|
||||
TOKEN2CHAR(tLBRACE);
|
||||
TOKEN2CHAR(tLBRACE_ARG);
|
||||
@ -2845,7 +2844,6 @@ rb_parser_ary_free(rb_parser_t *p, rb_parser_ary_t *ary)
|
||||
%token tASSOC "=>"
|
||||
%token tLPAREN "("
|
||||
%token tLPAREN_ARG "( arg"
|
||||
%token tRPAREN ")"
|
||||
%token tLBRACK "["
|
||||
%token tLBRACE "{"
|
||||
%token tLBRACE_ARG "{ arg"
|
||||
|
Loading…
x
Reference in New Issue
Block a user