From: Graham Stott Date: Wed, 8 Aug 2001 07:00:45 +0000 (+0000) Subject: c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro parameter. X-Git-Tag: prereleases/libstdc++-3.0.95~2810 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f1e8126f0482cab7684339a01ffc422ff2bc9c4;p=thirdparty%2Fgcc.git 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 --- 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. */