Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VAX 1237: variable as keyword
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - May 19 2004 :  9:50:41 PM  Show Profile
VS6 - Naming a variable in causes VAX to color the variable as keyword. "in" is not a valid keyword in C++, so it should be recognized as variable.

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - May 20 2004 :  03:14:05 AM  Show Profile
Without looking, I recall there's a #define somewhere of "IN" as nothingness; it's used in ATL, I think, just as a way to mark function parameters. Could that be the culprit?
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - May 20 2004 :  09:45:26 AM  Show Profile
We suspect Larry is correct. We can reproduce the problem if we define "in" in another header.

Whole Tomato Software, Inc.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - May 20 2004 :  09:54:50 AM  Show Profile
"in" is not defined, you'll see it also in the HCB right between "interface", "int" and "inline"
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - May 25 2004 :  01:34:47 AM  Show Profile
Sorry guys, but this version has serious association problems.
I see lots of variables colored as functions, enums or keywords. Typical errors are "size", "begin" and "end", all of which are STL functions, when I define a variable of this name, it will be colored as symbol in the source window. Strangely the definition bar shows it in all blue.
I have one enum named "data", all variables named data are colored as enums. This did definitely not happen with previous builds.
Go to Top of Page

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - May 25 2004 :  02:10:16 AM  Show Profile
Same here, since Build 1235...

and already classified by WT as case=82...


Edited by - WannabeeDeveloper on May 25 2004 03:14:05 AM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000