Commit 133339b4 by Jason Merrill

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

From-SVN: r45963
parent 0caee1c6
...@@ -590,14 +590,14 @@ cxx_decode_option (argc, argv) ...@@ -590,14 +590,14 @@ cxx_decode_option (argc, argv)
but breaks the VAX pcc. */ but breaks the VAX pcc. */
found = 1; found = 1;
} }
if (p[0] == 'n' && p[1] == 'o' && p[2] == '-' else if (p[0] == 'n' && p[1] == 'o' && p[2] == '-'
&& ! strcmp (p+3, lang_f_options[j].string)) && ! strcmp (p+3, lang_f_options[j].string))
{ {
*lang_f_options[j].variable = ! lang_f_options[j].on_value; *lang_f_options[j].variable = ! lang_f_options[j].on_value;
found = 1; found = 1;
} }
} }
return found; return found;
} }
} }
......
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