autoconf
[Top][All Lists]
Advanced

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

Re: saving AC development strength


From: Akim Demaille
Subject: Re: saving AC development strength
Date: 29 Jan 2002 19:21:41 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)

| Akim Demaille wrote:
| > Bruce, what you reproduced here is not what I sent.  I quadrigraphed
| > only non paired quotes.
| 
| I understand.  I know I can write code that scans the user supplied
| source to verify that the M4 quotes happen to properly nest,
| but it is far, far easier to simply replace them and know that
| I do not have to worry about M4 confusing source code square brackets
| with its notion of open and close quotes.  I have three choices:
| 
| 1.  changequote to something certain to not be confused (probably would
|     have been a really good idea way back when, but likely not now)
| 2.  replace autoconf-special characters with the quadrigraphs
|     (my current choice)
| 3.  lexically analyize the user supplied text for square
|     bracket constructs that confuses M4's quoting scheme.  Then,
|     if detected, only replace those characters that would enable
|     M4 to properly not do substitutions in that text.
| 
| The last is non-trivial and, I think, not worth doing.

OK, as long as you are sure you are not quadrigraphing actual M4
quotes, it's correct.



reply via email to

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