aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tbl_opts.c
Commit message (Collapse)AuthorAgeFilesLines
* Allow comma-separated options in tbl(7) tables.Ingo Schwarze2014-11-261-3/+3
| | | | | Provides better groff compatibility. From bentley@.
* Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.Ingo Schwarze2014-08-101-3/+3
| | | | | | Include <sys/types.h> where needed, it does not belong in config.h. Remove <stdio.h> from config.h; if it is missing somewhere, it should be added, but i cannot find a *.c file where it is missing.
* KNF: case (FOO): -> case FOO:, remove /* LINTED */ and /* ARGSUSED */,Ingo Schwarze2014-04-201-23/+24
| | | | | remove trailing whitespace and blanks before tabs, improve some indenting; no functional change
* forgotten Copyright bumps; no code changeIngo Schwarze2011-09-181-2/+2
| | | | found while syncing to OpenBSD
* Add config.h Glue for OpenIndiana (and older OpenSolaris) to build.Kristaps Dzonsons2011-04-041-1/+5
| | | | From a patch by Yuri Pankov, thanks!
* Consolidate messages. Have all parse-time messages (in libmdoc,Kristaps Dzonsons2011-03-201-10/+16
| | | | | | | | | 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-2/+2
|
* Add some unsigned char casts for tolower() usageJoerg Sonnenberger2011-01-091-2/+2
|
* Quiesce lint with some type handling. Does not change anything.Kristaps Dzonsons2011-01-071-3/+3
|
* Remove delims from struct tbl (not used anywhere and never will be).Kristaps Dzonsons2011-01-061-3/+3
|
* Churn to get parts of 'struct tbl' visible from mandoc.h: rename theKristaps Dzonsons2011-01-021-12/+14
| | | | | | | 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-3/+2
|
* Significant update to options handling, which now departs almostKristaps Dzonsons2010-12-291-68/+131
| | | | | | | | | | | | | 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-2/+2
|
* 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.