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]
Other format: [Raw text]

Re: [c++] pedwarn about invalid pure specifiers (e.g "= 0L")


Michael Matz wrote:-

> Index: cpplib.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/cpplib.h,v
> retrieving revision 1.278
> diff -u -p -r1.278 cpplib.h
> --- cpplib.h	19 Feb 2004 22:18:49 -0000	1.278
> +++ cpplib.h	25 Feb 2004 03:25:32 -0000
> @@ -170,6 +170,8 @@ struct cpp_string
>  #define NO_EXPAND	(1 << 5) /* Do not macro-expand this token.  */
>  #define BOL		(1 << 6) /* Token at beginning of line.  */
>  
> +#define SINGLE_DIGIT	STRINGIFY_ARG /* If this token was a single digit.  */
> +
>  /* A preprocessing token.  This has been carefully packed and should
>     occupy 16 bytes on 32-bit hosts and 24 bytes on 64-bit hosts.  */
>  struct cpp_token

Since SINGLE_DIGIT is nothing to do with the cpplib interface, this
belongs elsewhere.   Perhaps c-common.h?

Neil.


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