diff options
| author | krasimir <krasimir@chalmers.se> | 2015-05-11 13:01:39 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2015-05-11 13:01:39 +0000 |
| commit | 1e0d7be4f4322836093d744c916fe02bfbcf9418 (patch) | |
| tree | 21b259b2c9eb31ce9fbcfe5d168d1747f6a2c5c2 /src/runtime/c/pgf/linearizer.h | |
| parent | 13998e32873758c0b1964a62f738b9916e666b86 (diff) | |
added all orthographic primitives
Diffstat (limited to 'src/runtime/c/pgf/linearizer.h')
| -rw-r--r-- | src/runtime/c/pgf/linearizer.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/runtime/c/pgf/linearizer.h b/src/runtime/c/pgf/linearizer.h index 6cd2e1782..8178facdb 100644 --- a/src/runtime/c/pgf/linearizer.h +++ b/src/runtime/c/pgf/linearizer.h @@ -38,6 +38,13 @@ pgf_lzr_wrap_linref(PgfCncTree ctree, GuPool* pool); typedef struct PgfLinFuncs PgfLinFuncs; +typedef enum { + PGF_CAPIT_NONE, + PGF_CAPIT_FIRST, + PGF_CAPIT_ALL, + PGF_CAPIT_NEXT +} PgfCapitState; + struct PgfLinFuncs { /// Output tokens @@ -56,7 +63,7 @@ struct PgfLinFuncs void (*symbol_bind)(PgfLinFuncs** self); /// capitalization - void (*symbol_capit)(PgfLinFuncs** self); + void (*symbol_capit)(PgfLinFuncs** self, PgfCapitState capit); }; /// Linearize a concrete syntax tree. |
