Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change around include ordering for compilation on OpenBSD. | Kristaps Dzonsons | 2011-03-20 | 1 | -1/+1 |
| | |||||
* | Split the document parsing sequence out of main.c and into read.c, | Kristaps Dzonsons | 2011-03-20 | 1 | -0/+611 |
putting the interface into mandoc.h. This effectively makes the function of main.c be command-line handling, invoking the parser, and sending its output to the output handler. The sequence of parsing (pfile(), pdesc(), etc.) has changed very little but for clean-up of some state variables (curp->fd, etc.). |