aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-05-09 21:55:11 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-05-09 21:55:11 +0000
commit83a0c799412c955cddce5638e736a263b70742fd (patch)
tree326ee7113915850c7bbdc921a7fcde30c6e26b50 /gcc/gcc.c
parent87b6d63a2aa9c748637414c76c53a707d4d6372d (diff)
downloadgcc-83a0c799412c955cddce5638e736a263b70742fd.zip
gcc-83a0c799412c955cddce5638e736a263b70742fd.tar.gz
gcc-83a0c799412c955cddce5638e736a263b70742fd.tar.bz2
gcc.c (used_arg): Skip over a semicolon at the end of the split-up loop; don't break out of it.
* gcc.c (used_arg): Skip over a semicolon at the end of the split-up loop; don't break out of it. From-SVN: r33807
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 270e4ed..334e72b 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -5993,8 +5993,8 @@ used_arg (p, len)
}
matches[i].rep_len = q - matches[i].replace;
i++;
- if (*q != ';')
- break;
+ if (*q == ';')
+ q++;
}
/* Now build a list of the replacement string for switches that we care