diff options
author | Thomas White <taw@bitwiz.me.uk> | 2019-09-20 17:12:29 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-10-05 17:03:25 +0200 |
commit | 387858893a1a858e8205aae28a3609006c0c717d (patch) | |
tree | 1a52586a133e864097c6b3aa4c4e66aea2c14bdd /libstorycode/storycode.h | |
parent | 03ca4360631d5b0438912470c483989d294d7a1e (diff) |
Parse emphasis blocks in Bison
Diffstat (limited to 'libstorycode/storycode.h')
-rw-r--r-- | libstorycode/storycode.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libstorycode/storycode.h b/libstorycode/storycode.h index df9f79c..cd98667 100644 --- a/libstorycode/storycode.h +++ b/libstorycode/storycode.h @@ -27,6 +27,21 @@ #include <config.h> #endif +enum text_run_type +{ + TEXT_RUN_NORMAL, + TEXT_RUN_BOLD, + TEXT_RUN_ITALIC, + TEXT_RUN_UNDERLINE, +}; + +struct text_run +{ + enum text_run_type type; + char *text; +}; + + #include "narrative.h" extern const char *alignc(enum alignment ali); |