aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2002-12-17 05:18:51 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2002-12-17 05:18:51 +0000
commit7a975113a8c4970f3973e6d63d336441abe0aaf4 (patch)
tree7d901b5b82ce9e3dee284e3767d5868ebd9b3ba7 /gcc
parent5ecf91d13a7de40c79368145fcb00241e32a9992 (diff)
downloadgcc-7a975113a8c4970f3973e6d63d336441abe0aaf4.zip
gcc-7a975113a8c4970f3973e6d63d336441abe0aaf4.tar.gz
gcc-7a975113a8c4970f3973e6d63d336441abe0aaf4.tar.bz2
* gcc.c (validate_switches): Allow '@' as a switch name.
From-SVN: r60194
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gcc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c70fef6..b9ffa05 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-12-16 Geoffrey Keating <geoffk@apple.com>
+
+ * gcc.c (validate_switches): Allow '@' as a switch name.
+
2002-12-16 Loren J. Rittle <ljrittle@acm.org>
* Makefile.in (gcov-iov.h): Improve portability.
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 3f37fce..b66d53c 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -6778,7 +6778,7 @@ next_member:
atom = p;
while (ISIDNUM (*p) || *p == '-' || *p == '+' || *p == '='
- || *p == ',' || *p == '.')
+ || *p == ',' || *p == '.' || *p == '@')
p++;
len = p - atom;