marqvart
Starting Member
Denmark
1 Posts |
Posted - Apr 05 2004 : 03:02:13 AM
|
I have been unable to get VA X to expand the contents of a macro used inside a struct. It works fine in VA 6.0.
The following is a minimal code example to demonstrate the "bug":
#define asdf_DATA \ int i;
typedef struct asdf_struct asdf; struct asdf_struct { asdf_DATA };
void main() { asdf a; }
Using VA 6.0, hitting a. in main() brings up the parameter popup showing i, just as I would expect. Doing the same in VA X, I haven't been able to get the parameter popup to show. Hitting Ctrl-Space only results in the status bar showing "0 Symbols found".
We use the above construct to implement object inheritance in a big C project, and it would of course be very nice to have it working in VA X !!
PS: To get VA 6.0 to work, I have to enable the "Macros defined with ()..." option and reparse the databases.
Best regards and thanks for a great tool!!! Lars Marqvart |
|