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
 cannot recognize macro/enum color correctly
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

fwid
Junior Member

22 Posts

Posted - Aug 31 2005 :  03:09:53 AM  Show Profile
vax 10.1 build 1409
vs6 with sp6


#define LENGTH 12
#define ERRCODE_BEGING enum {
#define ERRCODE_END };

#define ERRCODE(errcode, disp, action) errcode,

ERRCODE_BEGING
    ERRCODE(RET_a, "a", "a")         //here cannot recognize RET_a correctly
    ERRCODE(RET_b, "b", "b"#LENGTH)  //here cannot recognize LENGTH correctly
    ERRCODE(RET_c, "c", "c")
ERRCODE_END


similar with
#define test ("abc"#LENGTH)

but following is ok without ()
#define obj  "abc"#LENGTH

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Aug 31 2005 :  5:48:11 PM  Show Profile
confirmed

case=729

zen is the art of being at one with the two'ness
Go to Top of Page

fwid
Junior Member

22 Posts

Posted - Sep 25 2005 :  9:19:48 PM  Show Profile
vax 10.1 build 1422-1423
vs6 with sp6


#define LENGTH 12
#define ERRCODE_BEGING enum {
#define ERRCODE_END };

#define ERRCODE(errcode, disp, action) errcode,

ERRCODE_BEGING
    ERRCODE(RET_a, "a", "a")
    ERRCODE(RET_b, "b", "b"#LENGTH)  //here cannot recognize LENGTH correctly
    ERRCODE(RET_c, "c", "c")         //after the above line, all wrong
    ERRCODE(RET_d, "d", "d")
ERRCODE_END


Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Sep 26 2005 :  6:31:46 PM  Show Profile
some changes / improvements have been made in 1424, but this is not yet fully fixed. when it is the thread should be updated with a post telling you which version the fix is in.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000