SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: hs2 on August 04, 2006, 02:05:04 PM

Title: tagging fails inside __try{} / __except{} blocks
Post by: hs2 on August 04, 2006, 02:05:04 PM
Hello SlickTeam,

var 'a' and 'b are not tagged using this way of exception handling:
__try
{
   int a;
   ....
}
__except( )
{
   int b;
}
Threre is no problem with 'normal' notation:
try / except
{
}

Can you confirm this issue ?
(platform: v11.01 WXP-SP2)

HS2
Title: Re: tagging fails inside __try{} / __except{} blocks
Post by: Phil Barila on August 04, 2006, 05:20:33 PM
Yes, it's an issue.  Add __try and its friends to your preprocessor defines at Tools > Options > File Extension Setup...->Options->Other->C Preprocessing.
Title: Re: tagging fails inside __try{} / __except{} blocks
Post by: hs2 on August 04, 2006, 05:45:12 PM
Thanks a lot Phil - that did the trick !

HS2
Title: Re: tagging fails inside __try{} / __except{} blocks
Post by: Phil Barila on August 04, 2006, 06:04:38 PM
I got it from support a while back.  I complained of the same thing, and they sent me that workaround.  Since I know that was there in 11.0.0, I thought it might have been fixed in 11.0.1, but apparently not.  Maybe it will get in by 12.