diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-26 00:57:22 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-26 00:57:22 +0000 |
commit | 445b12f7ab17bc0449361eeb2f956d5a1a9bcdd6 (patch) | |
tree | addd569e7b40f08deeb3e88a3ad2f5c06621ede5 /test-fts.c | |
parent | 552620095793cb4451871506a6b9373d2677acd9 (diff) | |
download | mandoc-445b12f7ab17bc0449361eeb2f956d5a1a9bcdd6.tar.gz mandoc-445b12f7ab17bc0449361eeb2f956d5a1a9bcdd6.tar.zst mandoc-445b12f7ab17bc0449361eeb2f956d5a1a9bcdd6.zip |
Improve (or rather, rewrite) tbl(7) option parsing.
* Allow the layout to start after the semicolon on the options line.
* Ignore leading commas.
* Option arguments cannot contain closing parentheses.
* Avoid needless UNSUPP messages.
* Better ERROR reporting.
* Delete unused "linesize" field in struct tbl_opts.
* No need for static buffers.
* Garbage collect one almost empty wrapper function.
Improved functionality, but minus 40 lines of code.
Diffstat (limited to 'test-fts.c')
0 files changed, 0 insertions, 0 deletions