From 0e017743181b76a26d2758234eb98fc736acc722 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 19 Apr 2015 14:00:19 +0000 Subject: 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. --- roff.h | 1 + 1 file changed, 1 insertion(+) (limited to 'roff.h') diff --git a/roff.h b/roff.h index fd73ad73..cf29d6d1 100644 --- a/roff.h +++ b/roff.h @@ -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. */ -- cgit v1.2.3-56-ge451