Commit 83a0c799 by Zack Weinberg Committed by Zack Weinberg

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
parent 87b6d63a
2000-05-09 Zack Weinberg <zack@wolery.cumb.org> 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. * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
(tree.o): Depend on output.h. (tree.o): Depend on output.h.
......
...@@ -5993,8 +5993,8 @@ used_arg (p, len) ...@@ -5993,8 +5993,8 @@ used_arg (p, len)
} }
matches[i].rep_len = q - matches[i].replace; matches[i].rep_len = q - matches[i].replace;
i++; i++;
if (*q != ';') if (*q == ';')
break; q++;
} }
/* Now build a list of the replacement string for switches that we care /* Now build a list of the replacement string for switches that we care
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment