mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-06 09:42:50 -06:00
the grammar reader in the C runtime is completely rewritten and it doesn't use the generic programming API
This commit is contained in:
@@ -483,7 +483,7 @@ pgf_print_type(PgfType *type, int prec, GuWriter *wtr, GuExn *err)
|
||||
|
||||
gu_string_write(type->cid, wtr, err);
|
||||
|
||||
for (int i = 0; i < type->n_exprs; i++) {
|
||||
for (size_t i = 0; i < type->n_exprs; i++) {
|
||||
gu_puts(" ", wtr, err);
|
||||
pgf_print_expr(type->exprs[i], 4, wtr, err);
|
||||
}
|
||||
@@ -494,7 +494,7 @@ pgf_print_type(PgfType *type, int prec, GuWriter *wtr, GuExn *err)
|
||||
|
||||
gu_string_write(type->cid, wtr, err);
|
||||
|
||||
for (int i = 0; i < type->n_exprs; i++) {
|
||||
for (size_t i = 0; i < type->n_exprs; i++) {
|
||||
gu_puts(" ", wtr, err);
|
||||
pgf_print_expr(type->exprs[i], 4, wtr, err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user