diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-12-10 15:00:52 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-12-10 15:00:52 +0000 |
| commit | 0ece8f19abf4dba1d3c568aca60d2c960d75efa6 (patch) | |
| tree | 88ad121f3ece72abd43491f1a95b1f70c992c991 /src/runtime/c/pgf/data.h | |
| parent | 8121124d722b136b116dc27afaaae174233b6731 (diff) | |
loading and unloading of languages in the C runtime and in the Python bindings
Diffstat (limited to 'src/runtime/c/pgf/data.h')
| -rw-r--r-- | src/runtime/c/pgf/data.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/data.h b/src/runtime/c/pgf/data.h index 131201132..6bfd5d334 100644 --- a/src/runtime/c/pgf/data.h +++ b/src/runtime/c/pgf/data.h @@ -99,6 +99,7 @@ typedef struct { PgfFlags* aflags; PgfCIdMap* funs; // |-> PgfAbsFun* PgfCIdMap* cats; // |-> PgfAbsCat* + PgfAbsFun* abs_lin_fun; } PgfAbstr; struct PgfPGF { @@ -241,6 +242,9 @@ struct PgfConcr { PgfCIdMap* cnccats; PgfCallbacksMap* callbacks; int total_cats; + + GuPool* pool; // if the language is loaded separately then this is the pool + GuFinalizer fin; // and this is the finalizer in the pool of the whole grammar }; extern GU_DECLARE_TYPE(PgfConcr, abstract); |
