Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 C++ Parser error VS2010+VA 10.6.1837

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
Mordachai Posted - Jan 19 2011 : 11:35:16 AM
//////////////////////////////////////////////////////////////////////////
//PARAMETER constants

const size_t NPAR_INT =		999;    // range    0.. 999
const size_t NPAR_UNITS =	999;    // range 1000..1999
const size_t NPAR_CHAR =	999;    // range 2000..2999
const size_t NPAR_DOUBLE =	999;    // range 3000..3999
const size_t NPAR_OEM =		999;    // range 4001..5000


VA indicates that the second line (const size_t ...) is erroneous, that a ';' is missing from the "range" expression.

Erm... range is a comment only - nothing to parse there! ;)

To be clear: if I change the above to have an additional ';' at the end of every comment, the problem goes away - so clearly VA is trying to parse the comments as code - which it should not be doing.
4   L A T E S T    R E P L I E S    (Newest First)
Mordachai Posted - Jan 19 2011 : 3:17:18 PM
Thanks - problem reported to MS under "Editor pre-parser comment glitch"
sean Posted - Jan 19 2011 : 2:13:05 PM
Sure - here's the place to report Visual Studio bugs/crashes/suggestions:

https://connect.microsoft.com/VisualStudio/
Mordachai Posted - Jan 19 2011 : 2:11:10 PM
Ah - thanks Sean. That is correct.

Does anyone know where / how to report this type of failure/bug to Microsoft? I seem to end up spending hours trying to find someplace to report this sort of thing only to have to give up time & again. :(
sean Posted - Jan 19 2011 : 1:03:30 PM
Sounds like a code squiggle provided by default Intellisense. VA does not display code squiggles in VS2010. To confirm, the default behavior can be disabled at:
Tools | Options | Text Editor | C/C++ | Advanced | Disable Squiggles.

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