summaryrefslogtreecommitdiffstats
path: root/tbl_opts.c
Commit message (Collapse)AuthorAgeFilesLines
* Add config.h Glue for OpenIndiana (and older OpenSolaris) to build.Kristaps Dzonsons2011-04-041-0/+4
| | | | From a patch by Yuri Pankov, thanks!
* Consolidate messages. Have all parse-time messages (in libmdoc,Kristaps Dzonsons2011-03-201-9/+15
| | | | | | | | | libroff, etc., etc.) route into mandoc_msg() and mandoc_vmsg(), for the time being in libmandoc.h. This requires struct mparse to be passed into the allocation routines instead of mandocmsg and a void pointer. Then, move some of the functionality of the old mmsg() into read.c's mparse_mmsg() (check against wlevel and setting of file_status) and use main.c's mmsg() as simply a printing tool.
* Make lint shut up a little bit.Kristaps Dzonsons2011-03-151-1/+1
|
* Add some unsigned char casts for tolower() usageJoerg Sonnenberger2011-01-091-1/+1
|
* Quiesce lint with some type handling. Does not change anything.Kristaps Dzonsons2011-01-071-2/+2
|
* Remove delims from struct tbl (not used anywhere and never will be).Kristaps Dzonsons2011-01-061-2/+2
|
* Churn to get parts of 'struct tbl' visible from mandoc.h: rename theKristaps Dzonsons2011-01-021-11/+13
| | | | | | | existing 'struct tbl' as 'struct tbl_node', then move all option stuff into a 'struct tbl' in mandoc.h. This conflicted with a structure in chars.c, which was renamed.
* Merge, with considerable changes, tbl.bsd.lv's layout-handling code.Kristaps Dzonsons2010-12-291-2/+1
|
* Significant update to options handling, which now departs almostKristaps Dzonsons2010-12-291-67/+130
| | | | | | | | | | | | | 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.
* Fix copyright email.Kristaps Dzonsons2010-12-281-1/+1
|
* Adding initial options processing (not hooked into parse yet). This isKristaps Dzonsons2010-12-281-0/+196
more or less copied from tbl.bsd.lv and still needs integration with the general mandoc framework, e.g., with error messages.