From 0f1e8126f0482cab7684339a01ffc422ff2bc9c4 Mon Sep 17 00:00:00 2001 From: Graham Stott Date: Wed, 8 Aug 2001 07:00:45 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/c-typeck.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 329aad73351f..33475adab3ff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-08-08 Graham Stott + + * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro + parameter. + 2001-08-08 Graham Stott * combine.c (combine_simplify_rtx): Update comment and diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index ecd106081f24..e92749fbe30c 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. */ -- 2.47.2