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
This commit is contained in:
Zack Weinberg 2000-05-09 21:55:11 +00:00 committed by Zack Weinberg
parent 87b6d63a2a
commit 83a0c79941
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2000-05-09 Zack Weinberg <zack@wolery.cumb.org>
* gcc.c (used_arg): Skip over a semicolon at the end of the
split-up loop; don't break out of it.
* Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
(tree.o): Depend on output.h.

View File

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