]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro parameter.
authorGraham Stott <grahams@redhat.com>
Wed, 8 Aug 2001 07:00:45 +0000 (07:00 +0000)
committerGraham Stott <grahams@gcc.gnu.org>
Wed, 8 Aug 2001 07:00:45 +0000 (07:00 +0000)
* c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
parameter.

From-SVN: r44704

gcc/ChangeLog
gcc/c-typeck.c

index 329aad73351fecd99fd4e37dfabbaaba2ac5edc1..33475adab3ffdc1d9f4d5a3bfc7374e1a566bcc5 100644 (file)
@@ -1,3 +1,8 @@
+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
index ecd106081f24b1e66453e19da29cc72680f5c990..e92749fbe30c7f0f02790526432181f48ad38033 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.  */