1
0
forked from GitHub/gf-core

the grammar reader in the C runtime is completely rewritten and it doesn't use the generic programming API

This commit is contained in:
kr.angelov
2013-02-11 10:16:58 +00:00
parent 88d20ca612
commit 10ef298fa0
6 changed files with 919 additions and 672 deletions

View File

@@ -29,9 +29,9 @@ pgf_read(const char* fpath,
GuIn* in = gu_file_in(infile, tmp_pool);
PgfReader* rdr = pgf_new_reader(in, pool, tmp_pool, err);
PgfPGF* pgf = pgf_read_new(rdr, gu_type(PgfPGF), pool, NULL);
PgfPGF* pgf = pgf_read_pgf(rdr);
gu_pool_free(tmp_pool);
gu_return_on_exn(err, NULL);
return pgf;
}