diff options
Diffstat (limited to 'src/runtime/c/pgf/parser.c')
| -rw-r--r-- | src/runtime/c/pgf/parser.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/runtime/c/pgf/parser.c b/src/runtime/c/pgf/parser.c index 0cf588aa1..7ca9babd8 100644 --- a/src/runtime/c/pgf/parser.c +++ b/src/runtime/c/pgf/parser.c @@ -2195,12 +2195,10 @@ pgf_parse_result(PgfParseState* state) pgf_parsing_print_counts(state->ps); #endif - PgfExprEnum* en = - &gu_new_i(state->ps->pool, PgfParseResult, - .state = state, - .en.next = pgf_parse_result_enum_next)->en; - - return en; + PgfParseResult* res = gu_new(PgfParseResult, state->ps->pool); + res->state = state; + res->en.next = pgf_parse_result_enum_next; + return &res->en; } void |
