diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-29 01:16:57 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-29 01:16:57 +0000 |
commit | d5144ffde6d84d22eacbce42462bf2486d995d91 (patch) | |
tree | 28406a7c095ee0bce715cd92848a1380533df824 /roff.c | |
parent | 752a79323a3403cb04e5f83d296286dbb0457369 (diff) | |
download | mandoc-d5144ffde6d84d22eacbce42462bf2486d995d91.tar.gz |
Significant update to options handling, which now departs almost
completely with the BSD.lv code due to performance issues and flat-out
errors.
Performance issues: functions called per character. Ugly.
Flat-out errors: disallowing "reserved" tokens as arguments to those
options accepting arguments.
Also added are two mandoc.h error codes for general tbl syntax errors
and for bad options.
Diffstat (limited to 'roff.c')
-rw-r--r-- | roff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1130,7 +1130,7 @@ roff_TS(ROFF_ARGS) (*r->msg)(MANDOCERR_SCOPEBROKEN, r->data, ln, ppos, NULL); tbl_reset(r->tbl); } else - r->tbl = tbl_alloc(); + r->tbl = tbl_alloc(r->data, r->msg); return(ROFF_IGN); } |