This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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;
 
============================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]