aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGraham Stott <grahams@redhat.com>2001-08-08 07:00:45 +0000
committerGraham Stott <grahams@gcc.gnu.org>2001-08-08 07:00:45 +0000
commit0f1e8126f0482cab7684339a01ffc422ff2bc9c4 (patch)
tree635145e5572b360020a7395016a25b69592e582f /gcc
parente61465ed1f203f2b68cade3078da004459e09f30 (diff)
downloadgcc-0f1e8126f0482cab7684339a01ffc422ff2bc9c4.zip
gcc-0f1e8126f0482cab7684339a01ffc422ff2bc9c4.tar.gz
gcc-0f1e8126f0482cab7684339a01ffc422ff2bc9c4.tar.bz2
c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro parameter.
* c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro parameter. From-SVN: r44704
Diffstat (limited to 'gcc')
-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 329aad7..33475ad 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 ecd1060..e92749f 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. */