summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-09 20:44:51 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-09 20:44:51 +0000
commit73a6aeee5748ebb120ee57a139e70d0350b4fc9f (patch)
tree68c8ffea3c55eeb787626f8d4022e31b02f4207e /gcc
parent7871928278f69994071e967abcea37b4a5b715d3 (diff)
downloadppe42-gcc-73a6aeee5748ebb120ee57a139e70d0350b4fc9f.tar.gz
ppe42-gcc-73a6aeee5748ebb120ee57a139e70d0350b4fc9f.zip
* cppexp.c (_cpp_parse_expr): Don't use unary plus.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34934 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cppexp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index db794f73679..dc0a893ff81 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-09 Zack Weinberg <zack@wolery.cumb.org>
+
+ * cppexp.c (_cpp_parse_expr): Don't use unary plus.
+
2000-07-09 Neil Booth <NeilB@earthling.net>
* cpphash.h: ISvspace, is_vspace, is_nvspace: New.
diff --git a/gcc/cppexp.c b/gcc/cppexp.c
index 7e2c85a0e6a..31b740f0839 100644
--- a/gcc/cppexp.c
+++ b/gcc/cppexp.c
@@ -842,7 +842,7 @@ _cpp_parse_expr (pfile)
case CPP_PLUS:
if (!(top->flags & HAVE_VALUE))
{
- UNARY(+);
+ UNARY(/* + */); /* K+R C doesn't like unary + */
}
else
{
OpenPOWER on IntegriCloud