mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-16 16:29:32 -06:00
another fix for the compilation of the bindings to the runtime
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user