[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #44714] compatibility mode: .do request and macro expansion via \*
From: |
G. Branden Robinson |
Subject: |
[bug #44714] compatibility mode: .do request and macro expansion via \* collide |
Date: |
Thu, 2 Sep 2021 11:18:38 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #1, bug #44714 (project groff):
[comment #0 original submission:]
> Consider the following snippet.
>
>
> .de1 aa
> . tm compatibility mode = '\\n(.C'
> ..
> .
> .cp 1
> .
> .do tm
> \*(aa\
>
>
> The expected output is
>
>
> compatibility mode = '0'
>
>
> since macro `.aa` is defined with `.de1`. However, due to a bug in troff
you get
>
>
> compatibility mode = '1'
>
>
> instead.
I don't understand why '.do tm' is going to the next input line to collect
arguments. 'tm' is not documented in CSTR #54 as behaving this way.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?44714>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #44714] compatibility mode: .do request and macro expansion via \* collide,
G. Branden Robinson <=