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 1426: unnamed structs/enums in context list
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Oct 12 2005 :  10:59:41 AM  Show Profile
1) When typedef'ing unnamed structs or enums, the context list will show entries like "enum" or "struct" and in the line after another entry with the typedef'd name.

e.g.: typedef enum { abc } ABCENUM;
the context list shows:
enum
ABCENUM

both with the correct icon. Same with structs.

2) the HCB does not resolve unnamed structs and enums. When hovering over a symbol defined in a unnamed, the HCB just shows "unnamed#####" where ### is a number.

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Oct 14 2005 :  6:40:27 PM  Show Profile
1) reproduced

case=837

while experimenting with this i also tried the case:

typedef enum LETTERS { abc } ABCENUM;

here you get the two items "LETTERS" and "ABCENUM" in the list. i am inclined to class this as a feature, since they are both valid names you may want to jump to.


2) i am getting all manor of fun with unnamed enums, and i have not even reached unnamed structures yet. i have reproduced the HCB problem, so long as the unnamed enum is in a cpp file

case=838

zen is the art of being at one with the two'ness
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