diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-23 18:41:18 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-23 18:41:18 +0000 |
commit | 30f55adc136c204d3d558b367edbc380844a2929 (patch) | |
tree | a376b69f8eebb95f4e52c37ed320e23ecb77d9af /mandoc.h | |
parent | 120b20293594a2d47c4e480f65706a805f0e629b (diff) | |
download | mandoc-30f55adc136c204d3d558b367edbc380844a2929.tar.gz mandoc-30f55adc136c204d3d558b367edbc380844a2929.tar.zst mandoc-30f55adc136c204d3d558b367edbc380844a2929.zip |
Add support for tdefine and ndefine. Consolidate some error messages. Add
somem more version notes (getting there). Have the equation nanme be captured.
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.93 2011/07/23 12:10:16 kristaps Exp $ */ +/* $Id: mandoc.h,v 1.94 2011/07/23 18:41:18 kristaps Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -110,7 +110,6 @@ enum mandocerr { MANDOCERR_ERROR, /* ===== start of errors ===== */ /* related to equations */ - MANDOCERR_EQNNEST, /* too many nested equation defines */ MANDOCERR_EQNNSCOPE, /* unexpected equation scope closure*/ MANDOCERR_EQNSCOPE, /* equation scope open on exit */ MANDOCERR_EQNBADSCOPE, /* overlapping equation scopes */ @@ -358,6 +357,7 @@ struct eqn_box { * line and position. */ struct eqn { + char *name; /* identifier (or NULL) */ struct eqn_box *root; /* root mathematical expression */ int ln; /* invocation line */ int pos; /* invocation position */ |