From cde26509ba13d87b22d81ec6d4ab1a2c6b3774e6 Mon Sep 17 00:00:00 2001
From: Geoffrey Keating <geoffk@apple.com>
Date: Tue, 17 Dec 2002 07:49:32 +0000
Subject: [PATCH] * gcc.c (handle_braces): Allow '@' as a switch name.

From-SVN: r60198
---
 gcc/ChangeLog | 4 ++++
 gcc/gcc.c     | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dc1de48e0098..fecf8e7d6e43 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-12-16  Geoffrey Keating  <geoffk@apple.com>
+
+	* gcc.c (handle_braces): Allow '@' as a switch name.
+
 2002-12-16  Jason Merrill  <jason@redhat.com>
 
 	* c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT
diff --git a/gcc/gcc.c b/gcc/gcc.c
index b66d53c720d4..ad1a478a566d 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -5611,7 +5611,7 @@ handle_braces (p)
 
       atom = p;
       while (ISIDNUM(*p) || *p == '-' || *p == '+' || *p == '='
-	     || *p == ',' || *p == '.')
+	     || *p == ',' || *p == '.' || *p == '@')
 	p++;
       end_atom = p;
 
-- 
GitLab