This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Allow '@' in switches in more places.
- From: Geoffrey Keating <gkeating at apple dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 16 Dec 2002 23:48:17 -0800 (PST)
- Subject: Allow '@' in switches in more places.
This is the previous gcc.c patch, but in the right place :-).
Tested on powerpc-eabisim.
--
- Geoffrey Keating <geoffk@apple.com>
===File ~/patches/gcc-atswitch2.patch=======================
2002-12-16 Geoffrey Keating <geoffk@apple.com>
* gcc.c (handle_braces): Allow '@' as a switch name.
Index: gcc.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcc.c,v
retrieving revision 1.352
diff -u -p -u -p -r1.352 gcc.c
--- gcc.c 17 Dec 2002 05:18:51 -0000 1.352
+++ gcc.c 17 Dec 2002 07:47:27 -0000
@@ -5611,7 +5611,7 @@ handle_braces (p)
atom = p;
while (ISIDNUM(*p) || *p == '-' || *p == '+' || *p == '='
- || *p == ',' || *p == '.')
+ || *p == ',' || *p == '.' || *p == '@')
p++;
end_atom = p;
============================================================