aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
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 db794f7..dc0a893 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 7e2c85a..31b740f 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
{