$ in identifiers -- poll

Henry Spencer henry at utzoo.UUCP
Tue Dec 11 10:09:36 AEST 1984

For what it's worth, the current ANSI C draft (12 Nov 1984) says that
dollar signs aren't in C's vocabulary at all (except for the usual
exemption for comments and strings), but adds the following in the
"Common extensions" discussion in appendix E:

	E.4.4.1 Specialized identifiers
	Characters other than the underscore _, letters, and digits, that
	are not defined in the required source character set (such as the
	dollar sign $) may appear in an identifier.

Note that this is identified as a "common extension", not as part of the
standard proper, and "[is] not portable to all implementations".
				Henry Spencer @ U of Toronto Zoology

More information about the Comp.lang.c mailing list