Re: macro name with `:'

"Jack J. Woehr" <[email protected]>
Newsgroups gmane.comp.gnu.m4.general
Message-ID <[email protected]>
Marc Chantreux wrote:
> i would like to figure out how to make this work:
>
> define(`H1:',"ok ... this is title ")

Perhaps it doesn't.

File: m4.info,  Node: Names,  Next: Quoted strings,  Up: Syntax

3.1 Macro names
===============

A name is any sequence of letters, digits, and the character `_'
(underscore), where the first character is not a digit.  `m4' will use
the longest such sequence found in the input.  If a name has a macro
definition, it will be subject to macro expansion (*note Macros::).
Names are case-sensitive.

    Examples of legal names are: `foo', `_tmp', and `name01'.

-- 
Jack J. Woehr            # "Those who hate vice hate mankind."
http://www.well.com/~jax # - Dr. Samuel Johnson
http://www.softwoehr.com # Boswell's _Life of Johnson_
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.