when linearizing missing functions with brackets, the name of the function should still be reported

This commit is contained in:
Krasimir Angelov
2018-06-20 16:35:28 +02:00
parent 65cfdf1775
commit aaefe4310d
2 changed files with 124 additions and 66 deletions

View File

@@ -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.