Up to [cvsweb.bsd.lv] / mandoc / regress / roff / ce
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.2 / (download) - annotate - [select for diffs], Mon Nov 13 21:07:04 2023 UTC (10 months, 1 week ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +13 -13 lines
Diff to previous 1.1 (colored)
reduce the man(7) global indentation from 7n to 5n, see man_term.c rev. 1.244
Revision 1.1 / (download) - annotate - [select for diffs], Sat Apr 30 18:51:37 2022 UTC (2 years, 4 months ago) by schwarze
Branch: MAIN
Provide a new function roff_req_or_macro() to parse and handle a request 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.