diff options
author | yui-knk <spiketeika@gmail.com> | 2023-01-23 23:54:27 +0900 |
---|---|---|
committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2023-01-25 10:52:37 +0900 |
commit | e82cef17624556b995e2a3d6de4908deec6f11f8 (patch) | |
tree | 06d53b88a055cc570065ba9e502a48e171bfa203 /parse.y | |
parent | 5eeebd68cf8089a02a3dd553664c60a224b7e521 (diff) | |
download | ruby-e82cef17624556b995e2a3d6de4908deec6f11f8.tar.gz |
Remove not used argument from tokenize_ident
This has not been used since 5e59be3eddd2ce28610ec8d1b42845cde0080833
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -9433,7 +9433,7 @@ tokadd_ident(struct parser_params *p, int c) } static ID -tokenize_ident(struct parser_params *p, const enum lex_state_e last_state) +tokenize_ident(struct parser_params *p) { ID ident = TOK_INTERN(); @@ -9568,7 +9568,7 @@ parse_gvar(struct parser_params *p, const enum lex_state_e last_state) if (tokadd_ident(p, c)) return 0; SET_LEX_STATE(EXPR_END); - tokenize_ident(p, last_state); + tokenize_ident(p); return tGVAR; } @@ -9643,7 +9643,7 @@ parse_atmark(struct parser_params *p, const enum lex_state_e last_state) } if (tokadd_ident(p, c)) return 0; - tokenize_ident(p, last_state); + tokenize_ident(p); return result; } @@ -9762,7 +9762,7 @@ parse_ident(struct parser_params *p, int c, int cmd_state) SET_LEX_STATE(EXPR_END); } - ident = tokenize_ident(p, last_state); + ident = tokenize_ident(p); if (result == tCONSTANT && is_local_id(ident)) result = tIDENTIFIER; if (!IS_lex_state_for(last_state, EXPR_DOT|EXPR_FNAME) && (result == tIDENTIFIER) && /* not EXPR_FNAME, not attrasgn */ |