Remove unused loc in rb_locations_lambda_body_t
This commit is contained in:
parent
9d7ba7848f
commit
78d7dde21c
Notes:
git
2025-01-05 00:06:31 +00:00
2
parse.y
2
parse.y
@ -439,7 +439,6 @@ struct local_vars {
|
|||||||
|
|
||||||
typedef struct rb_locations_lambda_body_t {
|
typedef struct rb_locations_lambda_body_t {
|
||||||
NODE *node;
|
NODE *node;
|
||||||
YYLTYPE loc;
|
|
||||||
YYLTYPE opening_loc;
|
YYLTYPE opening_loc;
|
||||||
YYLTYPE closing_loc;
|
YYLTYPE closing_loc;
|
||||||
} rb_locations_lambda_body_t;
|
} rb_locations_lambda_body_t;
|
||||||
@ -12843,7 +12842,6 @@ new_locations_lambda_body(struct parser_params* p, NODE *node, const YYLTYPE *lo
|
|||||||
{
|
{
|
||||||
rb_locations_lambda_body_t *body = xcalloc(1, sizeof(rb_locations_lambda_body_t));
|
rb_locations_lambda_body_t *body = xcalloc(1, sizeof(rb_locations_lambda_body_t));
|
||||||
body->node = node;
|
body->node = node;
|
||||||
body->loc = *loc;
|
|
||||||
body->opening_loc = *opening_loc;
|
body->opening_loc = *opening_loc;
|
||||||
body->closing_loc = *closing_loc;
|
body->closing_loc = *closing_loc;
|
||||||
return body;
|
return body;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user