@@ -875,10 +875,10 @@ static NODE* node_newnode_with_locals(struct parser_params *, enum node_type, VA
875
875
static NODE* node_newnode (struct parser_params *, enum node_type, VALUE, VALUE, VALUE, const rb_code_location_t *);
876
876
#define rb_node_newnode (type, a1, a2, a3, loc ) node_newnode(p, (type), (a1), (a2), (a3), (loc))
877
877
878
- /* Make a new temporal node, which should not be appeared in the
878
+ /* Make a new internal node, which should not be appeared in the
879
879
* result AST and does not have node_id and location. */
880
- static NODE* node_new_temporal (struct parser_params *p, enum node_type type, VALUE a0, VALUE a1, VALUE a2);
881
- #define NODE_NEW_TEMPORAL (t,a0,a1,a2 ) node_new_temporal (p, (t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
880
+ static NODE* node_new_internal (struct parser_params *p, enum node_type type, VALUE a0, VALUE a1, VALUE a2);
881
+ #define NODE_NEW_INTERNAL (t,a0,a1,a2 ) node_new_internal (p, (t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
882
882
883
883
static NODE *nd_set_loc (NODE *nd, const YYLTYPE *loc);
884
884
@@ -2177,7 +2177,7 @@ def_name : fname
2177
2177
YYSTYPE c = {.ctxt = p->ctxt};
2178
2178
numparam_name (p, fname);
2179
2179
NODE *save =
2180
- NODE_NEW_TEMPORAL (NODE_SELF,
2180
+ NODE_NEW_INTERNAL (NODE_SELF,
2181
2181
/* head*/ numparam_push(p),
2182
2182
/* nth*/ p->max_numparam,
2183
2183
/* cval*/ c.val);
@@ -10578,7 +10578,7 @@ yylex(YYSTYPE *lval, YYLTYPE *yylloc, struct parser_params *p)
10578
10578
#define LVAR_USED ((ID)1 << (sizeof (ID) * CHAR_BIT - 1 ))
10579
10579
10580
10580
static NODE*
10581
- node_new_temporal (struct parser_params *p, enum node_type type, VALUE a0, VALUE a1, VALUE a2)
10581
+ node_new_internal (struct parser_params *p, enum node_type type, VALUE a0, VALUE a1, VALUE a2)
10582
10582
{
10583
10583
NODE *n = rb_ast_newnode (p->ast , type);
10584
10584
@@ -10589,7 +10589,7 @@ node_new_temporal(struct parser_params *p, enum node_type type, VALUE a0, VALUE
10589
10589
static NODE*
10590
10590
node_newnode (struct parser_params *p, enum node_type type, VALUE a0, VALUE a1, VALUE a2, const rb_code_location_t *loc)
10591
10591
{
10592
- NODE *n = node_new_temporal (p, type, a0, a1, a2);
10592
+ NODE *n = node_new_internal (p, type, a0, a1, a2);
10593
10593
10594
10594
nd_set_loc (n, loc);
10595
10595
nd_set_node_id (n, parser_get_node_id (p));
0 commit comments