summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-08 07:00:45 +0000
committergrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-08 07:00:45 +0000
commitaa696fd517c7265ff9b5d989e6bc16ad7c61c91f (patch)
tree635145e5572b360020a7395016a25b69592e582f
parent6c3a60dfd60c4d37e39e0d9427025991ccd4ea7c (diff)
downloadppe42-gcc-aa696fd517c7265ff9b5d989e6bc16ad7c61c91f.tar.gz
ppe42-gcc-aa696fd517c7265ff9b5d989e6bc16ad7c61c91f.zip
* c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
parameter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44704 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/c-typeck.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 329aad73351..33475adab3f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2001-08-08 Graham Stott <grahams@redhat.com>
+ * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
+ parameter.
+
+2001-08-08 Graham Stott <grahams@redhat.com>
+
* combine.c (combine_simplify_rtx): Update comment and
remove erroneous test.
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index ecd106081f2..e92749fbe30 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -4494,7 +4494,7 @@ static int spelling_size; /* Size of the spelling stack. */
Alternative to SAVE_SPELLING_STACK. */
#define SPELLING_DEPTH() (spelling - spelling_base)
-#define RESTORE_SPELLING_DEPTH(depth) (spelling = spelling_base + depth)
+#define RESTORE_SPELLING_DEPTH(DEPTH) (spelling = spelling_base + (DEPTH))
/* Save and restore the spelling stack around arbitrary C code. */
OpenPOWER on IntegriCloud