On Thu, Feb 21, 2013 at 09:41:51PM +0200, Eli Zaretskii wrote:
> > Date: Thu, 21 Feb 2013 20:18:56 +0100
> > From: Patrice Dumas <[email protected]>
> >
> > The first ambiguous construct is in fact
> >
> > @set x@c
> >
> > I am not sure how this should be interpreted? It may be considered
> > 1. wrong
> > 2. the same as
> >
> > @set x
> >
> > 3. the same as
> >
> > @set x @c
>
> Neither. It's #2, but the following newline should be removed from
> output when the macro is expanded. Using @c for this purpose was a
> popular trick with the old makeinfo.
It is not a macro, it is a @value. And I am not sure it is correct, as
in
'@set' and '@value'
it is said, about @set:
The value is the remainder of the input line, and can contain
anything.
Taken literraly, it means that a @c on the line is to be part of the
value. I can change the Parser code to remove wha tlooks like a comment
from the value (trailing spaces are already removed), but then, maybe
the manual should be modified?
--
Pat