mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-20 18:29:33 -06:00
libpgf: printing of literals and flags
This commit is contained in:
@@ -40,7 +40,7 @@ typedef enum {
|
||||
} PgfLiteralTag;
|
||||
|
||||
typedef struct {
|
||||
GuStr val;
|
||||
GuString val;
|
||||
} PgfLiteralStr;
|
||||
|
||||
typedef struct {
|
||||
@@ -146,6 +146,9 @@ pgf_expr_unapply(PgfExpr expr, GuPool* pool);
|
||||
PgfExpr
|
||||
pgf_read_expr(GuReader* rdr, GuPool* pool, GuExn* err);
|
||||
|
||||
void
|
||||
pgf_print_literal(PgfLiteral lit, GuWriter* wtr, GuExn* err);
|
||||
|
||||
void
|
||||
pgf_print_expr(PgfExpr expr, int prec, GuWriter* wtr, GuExn* err);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user