diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-03-20 23:36:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-03-20 23:36:43 +0000 |
commit | e8577c374a9f7230bd229f8ea333569dda0d6de1 (patch) | |
tree | e7c300c8d21ab79b802738f5f87b347bd58baa6f /usr.bin/mandoc/mandoc.h | |
parent | cb92757aa4e8c46674512dea4203e0cf817a0be5 (diff) |
Import the foundation for eqn(7) support.
Written by kristaps@.
For now, i'm adding one line to each of the four frontends
to just pass the input text through to the output,
not yet interpreting any of then eqn keywords.
Diffstat (limited to 'usr.bin/mandoc/mandoc.h')
-rw-r--r-- | usr.bin/mandoc/mandoc.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mandoc.h b/usr.bin/mandoc/mandoc.h index 1c749031d66..2175e97ad8a 100644 --- a/usr.bin/mandoc/mandoc.h +++ b/usr.bin/mandoc/mandoc.h @@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.34 2011/03/07 01:35:33 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.35 2011/03/20 23:36:42 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -269,6 +269,13 @@ struct tbl_span { struct tbl_span *next; }; +struct eqn { + size_t sz; + char *data; + int line; /* invocation line */ + int pos; /* invocation position */ +}; + /* * Available registers (set in libroff, accessed elsewhere). */ |