From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Booth To: Frank Klemm Cc: gcc@gcc.gnu.org Subject: Re: Proposal Date: Thu, 27 Sep 2001 16:36:00 -0000 Message-id: <20010928003613.A3397@daikokuya.demon.co.uk> References: <200109151841.UAA04064@fuchs.offl.uni-jena.de> <20010917235928.A11347@daikokuya.demon.co.uk> <20010918021527.A14623@fuchs.offl.uni-jena.de> <20010927160755.D330@fuchs.offl.uni-jena.de> X-SW-Source: 2001-09/msg01164.html Frank Klemm wrote:- > '_' should be allowed in numbers. It is allowed between the digits of > numbers in a C/C++ source _before_ preprocessing. It is not allowed between > digits which are 'created' during the preprocessor phase. Why are you so keen to disallow it in created tokens? If a patch to implement '_' in numbers were submitted, I would require that a preprocessing number be a pp number no matter how it is created; I'm pretty sure Zack would agree with me. > #define MY_MERGE_5(a,b,c,d,e) a##b##c##d##e > #define MILLION MY_MERGE_5 ( 1, _, 000, _, 000 ) > #define BILLION MY_MERGE_5 ( MILLION, _, 000, _, 000 ) // UK notation BILLION won't expand to what you think. As for UK notation, I'm British and I can't think of the last time I've seen a billion have 12 zeroes. In fact, I think the only time it occurs is when people are comparing the claimed British and American forms :-) Neil.