diff options
-rw-r--r-- | TODO | 4 | ||||
-rw-r--r-- | man_term.c | 2 |
2 files changed, 5 insertions, 1 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. @@ -640,7 +640,7 @@ pre_TP(DECL_ARGS) /* Calculate offset. */ if (NULL != (nn = n->parent->head->child)) - if (nn->parent->line == nn->line) + if (nn->string && nn->parent->line == nn->line) if ((ival = a2width(p, nn->string)) >= 0) len = (size_t)ival; |