This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH v2, configure]: Enclose regexps in changequote block
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 19 Feb 2010 00:21:24 +0100
- Subject: Re: [PATCH v2, configure]: Enclose regexps in changequote block
- References: <4B7DAA80.firstname.lastname@example.org> <4B7DB352.email@example.com>
Actually, it seems that current practice is to enclose problematic
regexps in a changequote block. Attached v2 patch follows this practice
and encloses a couple of regexps in changequote blocks.
The correct practice is, in order:
1) to use quadrigraphs if it is not too ugly;
2) to wrap the relevant macro argument with another layer of brackets,
which would have been the right way to do it;
3) to use m4_changequote.
If you want to try out (2), please go ahead. As long as there are no
changes in configure file (and the changequotes are removed), that's
preapproved. Otherwise, please change to m4_changequote and commit.
Oh, and these constructs are called quadrigraphs.