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
 custom keywords
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

zedd
New Member

2 Posts

Posted - Nov 09 2010 :  7:07:01 PM  Show Profile  Reply with Quote
Hi,

I am using a library which has custom keywords like "gom_class" instead of a "class" keyword. This screws up the parser for Visual Assist X. Can I add custom keyword like this one and make it look like just "class" for VA ?

Thanks !
Zedd

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Nov 10 2010 :  1:01:49 PM  Show Profile  Reply with Quote
Unfortunately there is no good solution for this, however, we are considering a solution to be able to define special "keywords" to substitute the class keyword:

case=9589

For now, you can use this (little ugly) workaround:
#ifndef VA_DOES_NOT_UNDERSTAND_THIS
gom_class
#else
class 
#endif
cClassName : public cBaseClassName
{
	int Apple;
};

It's ugly since require you to modify the actual code, but it works both with VA and the compiler.
Go to Top of Page

zedd
New Member

2 Posts

Posted - Nov 14 2010 :  9:10:24 PM  Show Profile  Reply with Quote
Thanks. That does fix it for now :) I would love to see custom keyword support in future builds ! :)

Cheers,
Z
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000