bug-m4
[Top][All Lists]
Advanced

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

example macro prototype is somewhat malformed


From: Marijn Schouten (hkBst)
Subject: example macro prototype is somewhat malformed
Date: Tue, 13 May 2014 14:54:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On
https://www.gnu.org/savannah-checkouts/gnu/m4/manual/m4-1.4.17/html_node/Manual.html#Manual

the example macro prototype is somewhat malformed:

===

Composite: example (string, [count = ‘1’]

    [argument]This is a sample prototype. There is not really a macro
named example, but this documents that if there were, it would be a
Composite macro, rather than a Builtin. It requires at least one
argument, string. Remember that in m4, there must not be a space between
the macro name and the opening parenthesis, unless it was intended to
call the macro without any arguments. The brackets around count and
argument show that these arguments are optional. ...

===

In the first line, [argument] fell off the line, there is no closing paren.

Marijn



reply via email to

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