diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2012-01-23 10:17:20 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2012-01-23 10:17:20 +0000 |
| commit | 4e4881dba5b33a7603a0ddcf33c3f5fbbe3e31e8 (patch) | |
| tree | 322168ba8fc7e4b2486232e18375714008cb51f5 /src/runtime/c/pgf/expr.h | |
| parent | 7fcaa81858959699938ae0f032583a498c63019a (diff) | |
libpgf: printing of literals and flags
Diffstat (limited to 'src/runtime/c/pgf/expr.h')
| -rw-r--r-- | src/runtime/c/pgf/expr.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/runtime/c/pgf/expr.h b/src/runtime/c/pgf/expr.h index 65e2d66a9..003102792 100644 --- a/src/runtime/c/pgf/expr.h +++ b/src/runtime/c/pgf/expr.h @@ -40,7 +40,7 @@ typedef enum { } PgfLiteralTag; typedef struct { - GuStr val; + GuString val; } PgfLiteralStr; typedef struct { @@ -147,6 +147,9 @@ 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); void |
