projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0caee1c
)
* decl2.c (cxx_decode_option): Add 'else'.
author
Jason Merrill
<jason@gcc.gnu.org>
Tue, 2 Oct 2001 15:44:55 +0000
(11:44 -0400)
committer
Jason Merrill
<jason@gcc.gnu.org>
Tue, 2 Oct 2001 15:44:55 +0000
(11:44 -0400)
From-SVN: r45963
gcc/cp/decl2.c
patch
|
blob
|
history
diff --git
a/gcc/cp/decl2.c
b/gcc/cp/decl2.c
index 372b8ee8139f57d7a521eceee3db28aef65a4a07..ee8f37900f1711dd900035756768be8a31c5b065 100644
(file)
--- 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;
}
}