bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #60913] suboptimal diagnostics and spurious output when (mis)using


From: G. Branden Robinson
Subject: [bug #60913] suboptimal diagnostics and spurious output when (mis)using .evc
Date: Mon, 12 Jul 2021 14:42:51 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Update of bug #60913 (project groff):

                Severity:               2 - Minor => 3 - Normal             
                 Summary: suboptimal diagnostics when (mis)using .evc =>
suboptimal diagnostics and spurious output when (mis)using .evc

    _______________________________________________________

Follow-up Comment #1:

Also, when .ev and .evc are misused, they cause empty lines in the output
because the validation logic performs early returns without calling
skip_line() to discard the newline at the end of the control line (and any
other stuff before it).


$ cat EXPERIMENTS/envbad.groff 
.ev \" environment stack underflow
.evc nonexistent \" indeed it doesn't exist
.pl \n[nl]u
$ groff -Tutf8 -E EXPERIMENTS/envbad.groff | wc
      1       0       1
$ ./build/test-groff -Tutf8 -E EXPERIMENTS/envbad.groff | wc
      0       0       0 


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60913>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]