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
 VAX 1424: new parser got hickups
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Sep 29 2005 :  1:06:27 PM  Show Profile
This is a shot from the context list. It shows up only there. HCB is fine.



I'll send that .h file to support.

Edited by - Uniwares on Sep 29 2005 1:11:11 PM

support
Whole Tomato Software

5566 Posts

Posted - Sep 29 2005 :  1:27:12 PM  Show Profile
Will be fixed in 1425.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Oct 06 2005 :  3:19:22 PM  Show Profile
Same thing in 1426 still.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Oct 07 2005 :  2:13:06 PM  Show Profile
i am guessing this is file specific. is there anything odd about the definition of this function? i am not sure where to start trying to reproduce this.

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

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Oct 07 2005 :  3:16:31 PM  Show Profile
What totally confuses the parser is the explicit use of
this->operator++();
, but i have seen a similar effect in other files which use nothing really special.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Oct 16 2005 :  4:16:10 PM  Show Profile
all right, i have tried the test function:

QString CLauncherIconViewItem::text()
{
    this->operator++();
    this->operator++();
    this->operator++();
    this->operator++();
    this->operator--();
    return QString::null;
}


and the HCB simply does not get confused. i have defined operator++ and operator-- for this class, in case it matters. i have also tried a few other tests, and still no problems.

is this a long function? are these even in cpp files? or are they inline functions in a header file?

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

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Oct 16 2005 :  5:17:57 PM  Show Profile
Might be - they are inline functions in the header file for me. And yes, its a rather long file practically all inline'd.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Oct 17 2005 :  3:13:22 PM  Show Profile
i have the following test class in a .h file:

class felineURL
{
public:
    felineURL();

public:
    felineURL &operator++() { m_counter++; return *this; }
    felineURL &operator--() { m_counter--; return *this; }

    void SetSkipWSP(bool b)    { if(b == true) this->operator++(); else this->operator--(); }
    void SetSkipWSP(long n)    { if(n > 200) this->operator++(); else this->operator--(); }
    void SetSkipWSP(char c)    { if(c == 'y' || c == 'Y') this->operator++(); else this->operator--(); }

public:
    long m_counter;
};


and still no sign of any problems. are you able to copy this to a temporary file, and produce a small code block that reproduces the problem? any clues on what i need to do to reproduce this would be useful

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