1
0
forked from GitHub/gf-core

remove the dependency on the HAVE_STATEMENT_EXPRESSIONS flag. This reduces the dependency on the ./configure script

This commit is contained in:
kr.angelov
2013-09-04 10:06:07 +00:00
parent 1f91d2287b
commit 49c7a029b6
15 changed files with 82 additions and 271 deletions

View File

@@ -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