diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-19 14:00:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-19 14:00:19 +0000 |
commit | 0e017743181b76a26d2758234eb98fc736acc722 (patch) | |
tree | 7ba171af8115765e30ae82c5cb2744c4f99fbf0b /roff.h | |
parent | 8b443f186e2557df92e04f3b82a2ce9d2011cb7e (diff) | |
download | mandoc-0e017743181b76a26d2758234eb98fc736acc722.tar.gz mandoc-0e017743181b76a26d2758234eb98fc736acc722.tar.zst mandoc-0e017743181b76a26d2758234eb98fc736acc722.zip |
Decouple the token code for "no request or macro" from the individual
high-level parsers to allow further unification of functions that
only need to recognize this code, but that don't care about different
high-level macrosets beyond that.
Diffstat (limited to 'roff.h')
-rw-r--r-- | roff.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -97,6 +97,7 @@ struct roff_node { int line; /* Input file line number. */ int pos; /* Input file column number. */ int tok; /* Request or macro ID. */ +#define TOKEN_NONE (-1) /* No request or macro. */ int flags; #define MDOC_VALID (1 << 0) /* Has been validated. */ #define MDOC_ENDED (1 << 1) /* Gone past body end mark. */ |