* gcc.c (handle_braces): Allow '@' as a switch name.

From-SVN: r60198
This commit is contained in:
Geoffrey Keating 2002-12-17 07:49:32 +00:00 committed by Geoffrey Keating
parent 9f17520894
commit cde26509ba
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -5611,7 +5611,7 @@ handle_braces (p)
atom = p;
while (ISIDNUM(*p) || *p == '-' || *p == '+' || *p == '='
|| *p == ',' || *p == '.')
|| *p == ',' || *p == '.' || *p == '@')
p++;
end_atom = p;