Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename mandoc_getarg() to roff_getarg() and pass it the roff parser | Ingo Schwarze | 2018-12-21 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | struct as an argument such that after copy-in, it can call roff_expand() once again, which used to be called roff_res() before this. This fixes a subtle low-level roff(7) parsing bug reported by Fabio Scotoni <fabio at esse dot ch> in the 4.4BSD-Lite2 mdoc.samples(7) manual page, because that page used an escaped escape sequence in a macro argument. To expand escaped escape sequences in quoted mdoc(7) arguments, too, stop bypassing the call to roff_getarg() in mdoc_argv.c, function args() for this case. This does not solve the case of escaped escape sequences in quoted .Bl -column phrases yet. Because roff_expand() can make the string longer, roff_getarg() can no longer operate in-place but needs to malloc(3) the returned string. In the high-level parsers, free(3) that string after processing it. | ||||
* | style message about missing blank before trailing delimiter; | Ingo Schwarze | 2017-06-10 | 1 | -1/+1 |
| | | | | inspired by mdoclint(1), and jmc@ considers it useful | ||||
* | Really commit some files that failed to get committed in this commit: | Ingo Schwarze | 2017-03-09 | 1 | -1/+0 |
| | | | | | | | Now that markdown output is tested for almost everything, test all input files in -T markdown output mode by default and only mark those files with SKIP_MARKDOWN that are not to be tested. Much easier to read, and almost minus 40 lines of Makefile code. | ||||
* | first batch of -T markdown tests | Ingo Schwarze | 2017-03-05 | 1 | -0/+1 |
| | |||||
* | Finally port the OpenBSD regression suite. | Ingo Schwarze | 2017-02-08 | 1 | -0/+9 |
Both kristaps@ and wiz@ repeated asked for this, literally for years. |