another fix for the compilation of the bindings to the runtime

This commit is contained in:
krasimir
2017-05-26 08:54:12 +00:00
parent 8de69b0c31
commit 4c59db0dac

View File

@@ -2,7 +2,6 @@
#define PGF_LINEARIZER_H_
#include <gu/enum.h>
#include <pgf/data.h>
/// Linearization of abstract syntax trees.
@@ -13,6 +12,8 @@
/// A concrete syntax tree
typedef GuVariant PgfCncTree;
#ifdef PGF_DATA_H_
typedef enum {
PGF_CNC_TREE_APP,
PGF_CNC_TREE_CHUNKS,
@@ -47,6 +48,8 @@ typedef struct {
PgfLiteral lit;
} PgfCncTreeLit;
#endif
/// An enumeration of #PgfCncTree trees.
typedef GuEnum PgfCncTreeEnum;