Re: dollar sign in macros
Random832 <random@random. yi.orgwrites:
No. See C99 6.4.2.1:
3 Each universal character name in an identifier shall designate
a character whose encoding in ISO/IEC 10646 falls into one
of the ranges specified in annex D.59)
0024 isn't in the list in annex D.
I posted the opposite answer earlier in this thread, but I was
wrong. I was confused by 6.4.3, which specifically adds 0024 to
the list of values allowed in a universal-character-name.
Annex D in the standard gives a complete list.
--
"You call this a *C* question? What the hell are you smoking?" --Kaz
Random832 <random@random. yi.orgwrites:
Is \u0024 allowed in identifiers?
3 Each universal character name in an identifier shall designate
a character whose encoding in ISO/IEC 10646 falls into one
of the ranges specified in annex D.59)
0024 isn't in the list in annex D.
I posted the opposite answer earlier in this thread, but I was
wrong. I was confused by 6.4.3, which specifically adds 0024 to
the list of values allowed in a universal-character-name.
Is there a list of what UCNs are and are not allowed in identifiers?
--
"You call this a *C* question? What the hell are you smoking?" --Kaz
Comment