Remove not used fields from ERRINFO
This commit is contained in:
parent
fa54d06a40
commit
0a386b827b
3
parse.y
3
parse.y
@ -12013,9 +12013,6 @@ static rb_node_errinfo_t *
|
|||||||
rb_node_errinfo_new(struct parser_params *p, const YYLTYPE *loc)
|
rb_node_errinfo_new(struct parser_params *p, const YYLTYPE *loc)
|
||||||
{
|
{
|
||||||
rb_node_errinfo_t *n = NODE_NEWNODE(NODE_ERRINFO, rb_node_errinfo_t, loc);
|
rb_node_errinfo_t *n = NODE_NEWNODE(NODE_ERRINFO, rb_node_errinfo_t, loc);
|
||||||
n->not_used = 0;
|
|
||||||
n->not_used2 = 0;
|
|
||||||
n->not_used3 = 0;
|
|
||||||
|
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
@ -937,10 +937,6 @@ typedef struct RNode_FALSE {
|
|||||||
|
|
||||||
typedef struct RNode_ERRINFO {
|
typedef struct RNode_ERRINFO {
|
||||||
NODE node;
|
NODE node;
|
||||||
|
|
||||||
VALUE not_used;
|
|
||||||
VALUE not_used2;
|
|
||||||
VALUE not_used3;
|
|
||||||
} rb_node_errinfo_t;
|
} rb_node_errinfo_t;
|
||||||
|
|
||||||
typedef struct RNode_DEFINED {
|
typedef struct RNode_DEFINED {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user