fix adding all tokens to array in an enum_specifier rule
This commit is contained in:
parent
9f2f6be9bb
commit
6217665076
@ -704,6 +704,7 @@ enum_specifier
|
|||||||
$$->list->push_back($1);
|
$$->list->push_back($1);
|
||||||
$$->list->push_back($2);
|
$$->list->push_back($2);
|
||||||
$$->list->push_back($3);
|
$$->list->push_back($3);
|
||||||
|
$$->list->push_back($4);
|
||||||
}
|
}
|
||||||
| ENUM IDENTIFIER LCURLY enumerator_list RCURLY {
|
| ENUM IDENTIFIER LCURLY enumerator_list RCURLY {
|
||||||
$$ = new Node(NODE_TYPE_LIST);
|
$$ = new Node(NODE_TYPE_LIST);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user