mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-22 09:32:53 -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_
|
#define PGF_LINEARIZER_H_
|
||||||
|
|
||||||
#include <gu/enum.h>
|
#include <gu/enum.h>
|
||||||
#include <pgf/data.h>
|
|
||||||
|
|
||||||
/// Linearization of abstract syntax trees.
|
/// Linearization of abstract syntax trees.
|
||||||
|
|
||||||
@@ -13,6 +12,8 @@
|
|||||||
/// A concrete syntax tree
|
/// A concrete syntax tree
|
||||||
typedef GuVariant PgfCncTree;
|
typedef GuVariant PgfCncTree;
|
||||||
|
|
||||||
|
#ifdef PGF_DATA_H_
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
PGF_CNC_TREE_APP,
|
PGF_CNC_TREE_APP,
|
||||||
PGF_CNC_TREE_CHUNKS,
|
PGF_CNC_TREE_CHUNKS,
|
||||||
@@ -47,6 +48,8 @@ typedef struct {
|
|||||||
PgfLiteral lit;
|
PgfLiteral lit;
|
||||||
} PgfCncTreeLit;
|
} PgfCncTreeLit;
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
/// An enumeration of #PgfCncTree trees.
|
/// An enumeration of #PgfCncTree trees.
|
||||||
typedef GuEnum PgfCncTreeEnum;
|
typedef GuEnum PgfCncTreeEnum;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user