Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Provide a new function roff_req_or_macro() to parse and handle a request | Ingo Schwarze | 2022-04-30 | 3 | -2/+64 |
| | | | | | | | | | | | | | | or macro, including context-dependent error handling inside tbl(7) code and inside .ce/.rj blocks. Use it both in the top level roff(7) parser and inside conditional blocks. This fixes an assertion failure triggered by ".if 1 .ce" inside tbl(7) code, found by tb@ using afl(1). As a side benefit for readability, only one place remains in the code that calls the main handler functions for the various roff(7) requests. This patch also improves column numbers in some error messages and various comments. | ||||
* | delete the two pairs of extra blank lines from expected man(7) terminal | Ingo Schwarze | 2021-06-28 | 1 | -4/+0 |
| | | | | output that are no longer printed since man_term.c rev. 1.236 | ||||
* | Do not indent by SIZE_MAX/2 when .ce occurs inside explicit no-fill mode. | Ingo Schwarze | 2020-09-02 | 2 | -4/+20 |
| | | | | | | | | While here, drop two unused arguments from the function term_field(); the related work was already done by term_fill() before this commit. I found the bug in an afl run that was performed by Jan Schreiber <jes at posteo dot de>. | ||||
* | test the roff(7) .ce and .rj requests; | Ingo Schwarze | 2019-01-04 | 3 | -0/+41 |
they were already supported in the past |