External names in other languages
Norman Diamond
ndiamond at watdaisy.UUCP
Tue Jan 22 06:28:01 AEST 1985
> it is a sound idea admittedly but it seems to me that all you
> are doing is the standard(?) practice of
>
> #define this_is_a_very_long_name xyzzy
> int this_is_a_very_long_name;
>
> when the compiler generates the internal global symbols table then for
> the linker all references would be to variable xyzzy.
>
> nice try but no dice i think
>
> shades at mit-oz
The problem originally came about because xyzzy sometimes isn't a valid
identifier in C. Putting it in a #define doesn't make it valid.
-- Norman Diamond
UUCP: {decvax|utzoo|ihnp4|allegra|clyde}!watmath!watdaisy!ndiamond
CSNET: ndiamond%watdaisy at waterloo.csnet
ARPA: ndiamond%watdaisy%waterloo.csnet at csnet-relay.arpa
"Opinions are those of the keyboard, and do not reflect on me or higher-ups."
More information about the Comp.lang.c
mailing list