diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2001-10-02 11:44:55 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2001-10-02 11:44:55 -0400 |
commit | 133339b4a18303744edb718090dc62c136ba9ebd (patch) | |
tree | 5bc0ec020560c4dc6949f82e7069adfc0a9755d3 | |
parent | 0caee1c69faa2e378a0129736b782171be5e6ba9 (diff) | |
download | gcc-133339b4a18303744edb718090dc62c136ba9ebd.zip gcc-133339b4a18303744edb718090dc62c136ba9ebd.tar.gz gcc-133339b4a18303744edb718090dc62c136ba9ebd.tar.bz2 |
* decl2.c (cxx_decode_option): Add 'else'.
From-SVN: r45963
-rw-r--r-- | gcc/cp/decl2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 372b8ee..ee8f379 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -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; } } |