On Tue, 14 Jan 2003, Tom Schneider wrote:
Frank:
... So if I want to cut and paste to search for the name in my program, it fails.
I didn't like this as well, and that's exactly why I've brought up the issue.
Oh good!
Why not take the first [occurrence] of a variable as the name to use on all output?
The first, or the most recent one, that's still a question. After some experimenting, there seem to be points for both ways. I'm implementing the latter now (though it should be easy to change).
I would strongly vote for using the first occurrence because that is the one which is the definition! If one is disciplined, then all later cases should follow the definition!
Note: only Germans like to capitalize all nouns!
I know, and that's not the reason why this rule was introduced (long ago). Rather it was to avoid asmname conflicts with libc routines etc. -- see, e.g., Pierre's mail for detailed explanations.
Irregardless of either Case Checking or Warning messages, I would like to see the compiler output identifiers exactly as they appear in the offending source line. As it is now the compiler outputs 'Gothere' when the source could have been either 'gotHere' or 'goThere'. (bad pun intended).
Russ