Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Parsing Errors in VAX

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
diehard2 Posted - Jan 26 2010 : 2:50:11 PM
Hello, I've run across a couple of parsing errors in VAX. I have a project that replicates the behavior, but can't figure out how to upload to the forum. The jpgs reference below are included in this project (for future reference). I should note that I've turned off native intellisense by renaming feacp.dll

1. Fluent interface marked as error (vaxparsingerrors.jpg)
2. Calling an object as follows gives the wrong VAX intellisense
(date - date).days
VAX thinks that this is a date (vaxparsingerrors3.jpg) sometimes, and I have no idea what else other times.
3. try/catch in initialization list shows as an error (vaxparsingerrors2.jpg)
4. Constructor signature not given by VAX intellisense for Date class
reproduce - type Test::Date(
5. Enum values not always shown by VAX intellisense (I can't reproduce a test case for this right now)

Additionally, for my large project, the error marking (red squigglies) goes away completely

8   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Jan 29 2010 : 03:48:45 AM
If you move the caret to the second DoStuff on the second line, what does Definition field shows? (it is next to the green goto button of VA, on its left side). Is it showing the declaration of DoStuff, or is it empty?
diehard2 Posted - Jan 28 2010 : 6:21:30 PM
Hi,

I get no intellisense after Ctrl-space on the second line of your example.
accord Posted - Jan 28 2010 : 4:46:05 PM
1. Visual Assist recognized the subsequent DoStuff() member functions, but only suggests members when they are in the same line:

day.DoStuff().DoStuff().   <- member listbox appears here for me

day.DoStuff()
   .                       <- member listbox appears after ctrl+space for me


red squiggles: they appear after you start modifying a file. This feature is inactive in unmodified files for optimization.
diehard2 Posted - Jan 28 2010 : 10:55:18 AM
Hello,

Issue 1 -
Sorry about the missed ';', however I did see that in my other project which is why I made the test case. The other problem with the fluent interface is that VAX only gives you intellisense for the first '.'. So, if you type

day.DoStuff() <- good intellisense here
.DoStuff() <- tomato with question mark here
. <- nothing when you type this '.' or supsequent '.'s




Issue 2 -
I do have recursive macro parsing turned on to help with the errors I saw in VAX using GTEST (http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=9292). However, the recursive parsing didnt't fix it, so I guess I could turn it off.

Last Issue -
red squiggles: do you mean they have been disappeared completely?
Is this turned on:

VA Options -> Advanced -> Underlines -> Underline mistyped symbols using


Yes, its checked. Sometimes I have them, and sometimes I don't. Its not consistent.
accord Posted - Jan 27 2010 : 4:43:01 PM
4. it only happens for me when recursive macro parsing is on. Did you turned it on?

http://docs.wholetomato.com?W363

It is working now, after I turned it off.
accord Posted - Jan 27 2010 : 4:31:04 PM
1. You missed the ; after

Test::Date day()

in the test project.

2. I am seeing the same effect here. I've create a simplified test case and put in a bug report for this:

case=38782

3. I am seeing the same effect here.

case=1867

4. I have put in a bug report for this:

case=38786

It seems the problem happens only in macro-named functions, like in
int _tmain(int argc, _TCHAR* argv[])

function.

red squiggles: do you mean they have been disappeared completely?
Is this turned on:

VA Options -> Advanced -> Underlines -> Underline mistyped symbols using
diehard2 Posted - Jan 26 2010 : 3:40:21 PM
Thanks! I've sent the files
accord Posted - Jan 26 2010 : 3:17:14 PM
You can upload the project using this form:

http://www.wholetomato.com/support/contact.asp

Please include the URL of this page so we can match it up.

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