diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-09-20 14:20:48 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-09-20 14:20:48 +0000 |
commit | 5a5b6607864337eb2f3c5c7a1827d0358b43be54 (patch) | |
tree | 6e908769188d785502a6667b9196022ebe68f4e5 /TODO | |
parent | 5636e76b60167512ce24afe65e9de4fa112c10e4 (diff) | |
download | mandoc-5a5b6607864337eb2f3c5c7a1827d0358b43be54.tar.gz |
Using user-defined macros, surprisingly, it is possible
to have *next*-line head arguments on the *same* input line.
So .TP must not assume that a head argument with a matching
input line number is a same-line argument (and access a NULL pointer).
Bug found and fix tested by kristaps@ with groff_hdtbl(7).
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -350,6 +350,10 @@ Several areas can be cleaned up to make mandoc even faster. These are * structural issues ************************************************************************ +- We use the input line number at several places to distinguish + same-line from different-line input. That plainly doesn't work + with user-defined macros, leading to random breakage. + - Find better ways to prevent endless loops in roff(7) macro and string expansion. |