[Top][All Lists]

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

Re: more m4 underquotations

From: Bruno Haible
Subject: Re: more m4 underquotations
Date: Fri, 16 Feb 2007 02:38:38 +0100
User-agent: KMail/1.5.4

Eric Blake wrote:
> there is too much risk that a user
> will use those characters in his local encoding, but not the
> byte sequence that M4 recognizes based on a different
> encoding of those characters.

Indeed. I thought this problem could be solved by having every file declare
its quote characters at the beginning (and reset then to [ ] at the end),
but this doesn't work: when a macro is defined in a.m4 and invoked from b.m4,
the quotes in effect for b.m4 will be used for parsing the inner definition
of the macro - while the quotes for a.m4 apply to the outermost quotes.
Oh well :-(

> Although I agree that using non-ASCII quotes would eliminate ambiguity,
> it would make debugging tougher, when the character appears correctly
> in the editor but is in the wrong encoding.



reply via email to

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