bug-groff
[Top][All Lists]
Advanced

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

[bug #61450] Add warning for extraneous arguments to requests


From: G. Branden Robinson
Subject: [bug #61450] Add warning for extraneous arguments to requests
Date: Sat, 13 Nov 2021 19:02:40 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Update of bug #61450 (project groff):

                Severity:              3 - Normal => 1 - Wish               

    _______________________________________________________

Follow-up Comment #1:

This might be as simple as adding a conditional to `skip_line()`
<https://git.savannah.gnu.org/cgit/groff.git/tree/src/roff/troff/input.cpp#n2445>.

`token::next()` already takes care of escape sequence processing, so comments
still work as documented.

So do other escape sequences.  Here are some interesting things you can do
today, though I don't recall seeing any input that exploits the rules this
aggressively.


$ cat EXPERIMENTS/post-request-funny-business.groff
.ft R \R'a 5'
.ps 10 \s'24z'
.tm a=\na, .ps=\n[.ps]u
$ groff EXPERIMENTS/post-request-funny-business.groff
a=5, .ps=24000u


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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