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 | e0b77e5e8f276f44afbb5520fbcaab68991655b2 (patch) | |
tree | 43ee0421756c3a11616baa1fc9a6d38982f77c6d /regress/mdoc/break/brokenbreaker.in | |
parent | d3cd8071fec1187df23e51c90476a5a42e9c54c3 (diff) | |
download | mandoc-e0b77e5e8f276f44afbb5520fbcaab68991655b2.tar.gz mandoc-e0b77e5e8f276f44afbb5520fbcaab68991655b2.tar.zst mandoc-e0b77e5e8f276f44afbb5520fbcaab68991655b2.zip |
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 'regress/mdoc/break/brokenbreaker.in')
0 files changed, 0 insertions, 0 deletions