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
 Raw String Literal fools method list
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jschroedl
Ketchup Master

USA
91 Posts

Posted - May 12 2014 :  12:23:32 PM  Show Profile  Reply with Quote
If my code has a raw string literal with a double quote, the method parsing is fooled and does not list any further methods.

Here's a screenshot example. Note that the method, hidden() is not in the list. If I comment out the quote= line, hidden() will show in the method list.



feline
Whole Tomato Software

United Kingdom
15984 Posts

Posted - May 13 2014 :  3:02:10 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=65734

I was not aware you could do that, always something new to learn.

We are looking to add support for string literals, it just has not happened yet, as you see. Hopefully this is not causing to may problems for you.

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

jschroedl
Ketchup Master

USA
91 Posts

Posted - May 13 2014 :  6:23:19 PM  Show Profile  Reply with Quote
Thanks for looking at it.

I did cause a few mysterious problems with my strings containing dimension in inches. ex:

string size_str = R"(The box is 10" by 4" by 3")";

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
15984 Posts

Posted - May 16 2014 :  8:04:31 PM  Show Profile  Reply with Quote
Thank you for the example, it is interesting to see how you are using raw literal strings in your actual code. I have added this to the case, since it is a good test example.

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

sean
Whole Tomato Software

USA
2641 Posts

Posted - Mar 16 2016 :  12:06:21 AM  Show Profile  Reply with Quote
case=65734 is fixed in build 2093
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000