diff options
| author | Krasimir Angelov <kr.angelov@gmail.com> | 2018-06-20 16:35:28 +0200 |
|---|---|---|
| committer | Krasimir Angelov <kr.angelov@gmail.com> | 2018-06-20 16:35:28 +0200 |
| commit | aaefe4310d5660c94510d89c66ad48787dc2a071 (patch) | |
| tree | 0619373df81cbe3013e267f8e2fb46525390f5ed /src/runtime/c/pgf/linearizer.h | |
| parent | 65cfdf1775dc060f1f85956443db2eb56e1460ce (diff) | |
when linearizing missing functions with brackets, the name of the function should still be reported
Diffstat (limited to 'src/runtime/c/pgf/linearizer.h')
| -rw-r--r-- | src/runtime/c/pgf/linearizer.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/linearizer.h b/src/runtime/c/pgf/linearizer.h index 57fad962f..78ac092b6 100644 --- a/src/runtime/c/pgf/linearizer.h +++ b/src/runtime/c/pgf/linearizer.h @@ -18,6 +18,7 @@ typedef enum { PGF_CNC_TREE_APP, PGF_CNC_TREE_CHUNKS, PGF_CNC_TREE_LIT, + PGF_CNC_TREE_LINDEF } PgfCncTreeTag; typedef struct { @@ -50,6 +51,19 @@ typedef struct { PgfLiteral lit; } PgfCncTreeLit; +typedef struct { + PgfCId abs_id; + + PgfCCat* ccat; + PgfCncFun* fun; + int fid; + + size_t n_vars; + PgfPrintContext* context; + + GuString str; +} PgfCncTreeLinDef; + #endif /// An enumeration of #PgfCncTree trees. |
