X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/70a9dbd1a5a305812354c332d729472bd2c06561..23ce90af4d0d1ec547a53b8a66448e146ec30065:/roff.h diff --git a/roff.h b/roff.h index fd73ad73..750ccbe2 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. */ @@ -156,3 +157,9 @@ struct roff_man { enum roff_sec lastnamed; /* Last standard section seen. */ enum roff_next next; /* Where to put the next node. */ }; + +__BEGIN_DECLS + +void deroff(char **, const struct roff_node *); + +__END_DECLS