summaryrefslogtreecommitdiffstats
path: root/roff.h
Commit message (Collapse)AuthorAgeFilesLines
* Downstream maintainers: this removes UGLY! I don't want divergingKristaps Dzonsons2010-06-271-3/+3
| | | | | | | | | functionality and UGLY works quite well thanks to schwarze@'s careful attention. This also backs out function-prototype changes for struct regset, instead stuffing a pointer to the regset directly into struct mdoc/man/roff.
* First step of adding register support. This is inspired by a significantKristaps Dzonsons2010-06-261-2/+2
| | | | | | patch by schwarze@. This commit adds support to libroff parsing `nr' into register set defined in regs.h. This will propogate into libmdoc and libman in later commits.
* libroff now is aware of which sub-nodes should be interpreted even in aKristaps Dzonsons2010-05-171-1/+1
| | | | | | | | | | conditional-negative context so as to preserve structural integrity. Initial "rules" (deny/allow) are now inherited for future work in evaluating conditionals. Lint-fix noted by Joerg. Added regression tests for zany constructs.
* Allow roff_parseln() to be re-run.Kristaps Dzonsons2010-05-161-4/+6
| | | | | | | | | Allow roff_parseln() to manipulate the line buffer offset. This is used in situations like `.ie n .TH FOO 1' or `.ie n .ie n', where the line buffer offset is recalculated then the roff parser re-run. Fix mdoc_parseln() and man_parseln() to accept the initial line offset. WARNING: backed-out ALL roff macros whilst accomodating for how roff handles multi-line conditionals (in short, re-running the parser).
* Add mandoc.h, which will eventually replace compilers' inner enum errors ↵Kristaps Dzonsons2010-05-151-5/+5
| | | | | | with unified ones. Add initial roff pre-processor shim, a compiler sitting outside of the other compilers that processes pure roff instructions.
* Initial roff shim skeleton in place.Kristaps Dzonsons2010-05-151-0/+38
|
* More file pruning.Kristaps Dzonsons2008-12-151-302/+0
|
* *** empty log message ***Kristaps Dzonsons2008-12-101-1/+1
|
* Added warnings for using macros in the wrong sections.Kristaps Dzonsons2008-12-081-122/+136
|
* *** empty log message ***Kristaps Dzonsons2008-12-071-1/+1
|
* *** empty log message ***Kristaps Dzonsons2008-12-071-21/+21
|
* *** empty log message ***Kristaps Dzonsons2008-12-071-1/+1
|
* .St macros in place.Kristaps Dzonsons2008-12-061-5/+5
|
* *** empty log message ***Kristaps Dzonsons2008-12-061-29/+28
|
* *** empty log message ***Kristaps Dzonsons2008-12-061-3/+3
|
* *** empty log message ***Kristaps Dzonsons2008-12-061-1/+1
|
* *** empty log message ***Kristaps Dzonsons2008-12-051-0/+289