Follow-up Comment #8, bug #62036 (project groff):
> And the footnote as written in this attachment isn't entirely accurate,
saying "switching to an environment with an existing name moves it from its
place in the stack to the top." The word "moves" indicates that it's removed
from its position in the stack, which is not the case. An environment can be
in the stack multiple times, even adjacently.
This does not appear to be true.
$ cat EXPERIMENTS/stack-pusher.groff
.ev 1
.ev 2
.ev 3
.ev 2
.ev 4
.tm 4=\n[.ev]
.ev
.tm 2=\n[.ev]
.ev
.tm 3=\n[.ev]
.ev
.tm 2=\n[.ev]
.ev
.tm 1=\n[.ev]
.ev
.tm 0=\n[.ev]
.ev
$ ./build/test-groff -b -ww -Tutf8 EXPERIMENTS/stack-pusher.groff
4=4
2=3
3=2
2=1
1=0
0=0
troff: backtrace: file 'EXPERIMENTS/stack-pusher.groff':17
troff:EXPERIMENTS/stack-pusher.groff:17: error: environment stack underflow
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62036>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/