opts.c (c_common_init_options): Extra braces needed.
From-SVN: r56262
This commit is contained in:
parent
8202c8c4e9
commit
2933735169
@ -1,3 +1,7 @@
|
||||
2002-08-13 Neil Booth <neil@daikokuya.co.uk>
|
||||
|
||||
* c-opts.c (c_common_init_options): Extra braces needed.
|
||||
|
||||
Tue Aug 13 17:40:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
|
||||
|
||||
* sh.c (sh_init_builtins): Add PARAMS to declaration.
|
||||
|
@ -496,12 +496,14 @@ c_common_init_options (lang)
|
||||
qsort (cl_options, N_OPTS, sizeof (struct cl_option), opt_comp);
|
||||
#endif
|
||||
#if ENABLE_CHECKING
|
||||
{
|
||||
size_t i;
|
||||
|
||||
for (i = 1; i < N_OPTS; i++)
|
||||
if (strcmp (cl_options[i - 1].opt_text, cl_options[i].opt_text) >= 0)
|
||||
error ("options array incorrectly sorted: %s is before %s",
|
||||
cl_options[i - 1].opt_text, cl_options[i].opt_text);
|
||||
}
|
||||
#endif
|
||||
|
||||
c_language = lang;
|
||||
|
Loading…
Reference in New Issue
Block a user