[Top][All Lists]

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

Re: value of a macro parameter and position of )

From: Vincent Torri
Subject: Re: value of a macro parameter and position of )
Date: Sun, 15 Feb 2009 10:45:10 +0100 (CET)

On Sun, 15 Feb 2009, Andreas Schwab wrote:

Vincent Torri <address@hidden> writes:


i've written a macro with 2 parameters. Suppose that the macro name is
FOO, if I use it like that in the file:


Did you mean to write comma after [var1]?  Without it there is only one

yes, i forgot the comma

the value of the 2nd parameter in the macro is not yes, but yes followed
by a new line

See node Macro Arguments in the m4 documentation: only leading unquoted
whitespace is skipped when collecting macro arguments.  All other
whitespace will become part of the argument.

ok, thank you

Vincent Torri

reply via email to

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