diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-18 18:24:05 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-18 18:24:05 +0000 |
commit | 41b8b07e5d80bd3e76d4bc7dbb022526d41c501f (patch) | |
tree | b39757c8156dfbffc70bbf39a9c0a731e26c82f7 /gcc/gcc.c | |
parent | 6fbde4ed532f2ade8a9af33dd24179e41e83000d (diff) | |
download | gcc-41b8b07e5d80bd3e76d4bc7dbb022526d41c501f.tar.gz |
* gcc.c (validate_switches): Don't scan past closing '}'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63046 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c index b7aac2db625..52ca4242021 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -6871,7 +6871,8 @@ next_member: else if (p[0] == 'W' && p[1] == '{') p = validate_switches (p+2); } - if (*p) p++; + else + p++; } if (*p) p++; |