Up to [cvsweb.bsd.lv] / mandoc / regress / char / unicode
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.7 / (download) - annotate - [select for diffs], Sun Jun 5 13:54:13 2022 UTC (2 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +9 -9 lines
Diff to previous 1.6 (unified)
With the improved escape sequence parser, it becomes easy to also improve diagnostics. Distinguish "incomplete escape sequence", "invalid special character", and "unknown special character" from the generic "invalid escape sequence", also promoting them from WARNING to ERROR because incomplete escape sequences are severe syntax violations and because encountering an invalid or unknown special character makes it likely that part of the document content intended by the authors gets lost.