This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

trival patch c-typeck.c


All

I thought is was in the GNU coding standards that macro parameters should be
uppercase? 

Graham

ChangeLog

	* c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
	parameter.

--------------------------------------------------------------------------------
Index: c-typeck.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-typeck.c,v
retrieving revision 1.129
diff -c -p -r1.129 c-typeck.c
*** c-typeck.c  2001/07/17 19:01:53     1.129
--- c-typeck.c  2001/07/30 19:00:08
*************** static int spelling_size;               /* Size of th
*** 4494,4500 ****
     Alternative to SAVE_SPELLING_STACK.  */

  #define SPELLING_DEPTH() (spelling - spelling_base)
! #define RESTORE_SPELLING_DEPTH(depth) (spelling = spelling_base + depth)

  /* Save and restore the spelling stack around arbitrary C code.  */

--- 4494,4500 ----
     Alternative to SAVE_SPELLING_STACK.  */

  #define SPELLING_DEPTH() (spelling - spelling_base)
! #define RESTORE_SPELLING_DEPTH(DEPTH) (spelling = spelling_base + (DEPTH))

  /* Save and restore the spelling stack around arbitrary C code.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]