* c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
authorgrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Aug 2001 07:00:45 +0000 (07:00 +0000)
committergrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Aug 2001 07:00:45 +0000 (07:00 +0000)
parameter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44704 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-typeck.c

index 329aad7..33475ad 100644 (file)
@@ -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.
 
index ecd1060..e92749f 100644 (file)
@@ -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.  */