Whole Tomato Software Forums
Main Site
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
All Forums
Visual Assist
Technical Support
Highlighting func name declared in block scope
You must be registered to post a reply.
Click
here
to register.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Blue
Brown
Green
Red
Violet
Yellow
Message:
Forum code
is on.
Html is off.
[quote][i]Originally posted by maxim2000[/i] [br]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 [/quote]
Check to include your profile signature.
Check to subscribe to this topic.
T O P I C R E V I E W
maxim2000
Posted - Apr 09 2009 : 1:12:37 PM
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
2 L A T E S T R E P L I E S (Newest First)
support
Posted - Jul 20 2011 : 01:55:24 AM
case=25957 is fixed in build 1854
accord
Posted - Apr 14 2009 : 3:35:37 PM
I am seeing the same effect here. Thank you for the clear description.
case=25957
© 2023 Whole Tomato Software, LLC
Snitz Forums 2000