diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-20 17:25:09 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-20 17:25:09 +0000 |
commit | 31838be143430e63268641f25b12c5c350b9d05c (patch) | |
tree | 5aaba0871a77322dec80fb8d4fbaffaf07929e5a /term_ps.c | |
parent | 808579af324eb0af694857d495e81494389241b5 (diff) | |
download | mandoc-31838be143430e63268641f25b12c5c350b9d05c.tar.gz |
Expand \n(.$ (the number of macro arguments) right in roff_userdef(),
before even reparsing the expanded macro.
That is the least dirty way to fix the bug that \(.$ remained set
after execution of the user-defined macro ended. Any other way
to fix it would probably require changes to read.c, which really
shouldn't be bothered with such roff(7) internals.
Diffstat (limited to 'term_ps.c')
0 files changed, 0 insertions, 0 deletions