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
 Highlighting func name declared in block scope
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

maxim2000
Ketchup Master

68 Posts

Posted - Apr 09 2009 :  1:12:37 PM  Show Profile  Reply with Quote
The name of a function declared in block scope has wrong highlighting. E.g.

// mytest.cpp

void f(); // OK: f is brown

void f() // OK: f is brown
{
int i; // OK: i is gray
void g(); // error: g is gray, instead of brown
g(); // error: g is gray, instead of brown
}

void g() // error: g is gray, instead of brown
{
}

P.S. VA 1721, VS2005

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 14 2009 :  3:35:37 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=25957
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jul 20 2011 :  01:55:24 AM  Show Profile  Reply with Quote
case=25957 is fixed in build 1854

Whole Tomato Software, Inc.
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