diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-01-26 00:54:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-01-26 00:54:10 +0000 |
commit | c93c28ddbd10b595b059b57e708baf92fe431c33 (patch) | |
tree | 9dfb9acc1679ed7fe7a6719a72d2c384083c9331 /regress/usr.sbin | |
parent | 4049f099bfc99d5a5f50530f43a44d9b12584b2d (diff) |
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 'regress/usr.sbin')
0 files changed, 0 insertions, 0 deletions