Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1645: strange parsing errors

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
.oisyn Posted - Jul 27 2008 : 6:45:52 PM
I'm getting this very weird error where parsing gets all ****ed up when I try to define a certain constructor of a nested class that has a certain type as parameter. As soon as the type of this parameter is longer than 6 characters, parsing goes all weird. Using a type less than 6 characters, or defining the ctor as a function rather than a ctor, all is fine.

I can't reproduce this in an isolated test-setup, and even when copying the whole contents of that particular file to another one the bug doesn't show up in that other file.

Using a type with only 6 characters (or less)


Making that type 1 character longer


It works for any random sequence of characters.

This information isn't probably of much use to you guys but I thought you should know anyway
5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 04 2008 : 09:20:03 AM
Log files might help:

http://docs.wholetomato.com?W305

A copy of VA's symbol database might also help.
.oisyn Posted - Aug 04 2008 : 06:27:59 AM
Is there any way I can provide you with useful data whenever this happens again? A copy of the symbol database for instance? Or a minidump?
feline Posted - Jul 29 2008 : 11:25:37 AM
*sigh* it is good that the problem has gone away. Hopefully you will not have any more problems like this, since problems you cannot reproduce are hard to study.
.oisyn Posted - Jul 28 2008 : 8:49:05 PM
After re-opening the solution the problem went away. VA X seems to have been confused somehow. I can't really reproduce it in any way.
feline Posted - Jul 28 2008 : 09:29:53 AM
When this goes wrong, are you able to simplify the code and still see the problem? I suspect you could delete the "next()" member function, and the two operator overloads as well, and still see the problem.

I am wondering how simple you can make the code and still see the problem.

Since this is solution specific I am guessing there is some form of clash / conflict with something else in your solution. The simpler you can make the problem code, the fewer the points of conflict, so this should make it easier to find the conflict. At least in theory.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000