ANSI C token set (including $ and @)

Doug Gwyn gwyn at smoke.BRL.MIL
Fri Jan 20 00:30:29 AEST 1989


In article <504 at sdrc.UUCP> scjones at sdrc.UUCP (Larry Jones) writes:
>That's what I thought, too.  But Karl pointed out to me that is
>is possible to write a strictly conforming program that will NOT
>be interpreted correctly by an implementation that allows '$' in
>identifiers.

No, it isn't.  Use of the $ character in an identifier produces
"undefined behavior".  The implementation of free to treat $ like
_ in identifiers, because that cannot affect translation of any
strictly conforming program.



More information about the Comp.std.c mailing list