* decl2.c (cxx_decode_option): Add 'else'.

From-SVN: r45963
This commit is contained in:
Jason Merrill 2001-10-02 11:44:55 -04:00
parent 0caee1c69f
commit 133339b4a1
1 changed files with 3 additions and 3 deletions

View File

@ -590,14 +590,14 @@ cxx_decode_option (argc, argv)
but breaks the VAX pcc. */
found = 1;
}
if (p[0] == 'n' && p[1] == 'o' && p[2] == '-'
&& ! strcmp (p+3, lang_f_options[j].string))
else if (p[0] == 'n' && p[1] == 'o' && p[2] == '-'
&& ! strcmp (p+3, lang_f_options[j].string))
{
*lang_f_options[j].variable = ! lang_f_options[j].on_value;
found = 1;
}
}
return found;
}
}