Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Parser error: Unterminated string
Parser error: Unterminated string [message #46953] Wed, 28 September 2016 09:09 Go to previous message
NilaT is currently offline  NilaT
Messages: 70
Registered: November 2011
Location: Austria
Member
Hello,

since I updated to Win10 with MSC15 and the latest Upp, several errors have occured.
Most of them are solved, but one error is very annoying and can't be solved by myself, so please help me.

As soon as I put some breakpoints in my code and step through it, it sometimes randomly (not at all points, but if it occurs one time at a specific point it will always occurs there, so I can reproduce it), crashes with an "Parser error(1, 386): Unterminated string" error.

The numbers vary, but the result is always the same, TheIDE crashes and all my work is lost.
Please, any help is highly appreciated!

Thanks!

PS: I searched the forum and found something regarding CParser::ReadString, which leads me to CParser::ReadOneString and
if(chkend) {
  ThrowError("Unterminated string");
  return result;
}

But, I put a Breakpoint there and it hasn't stopped there, so I don't think that's the right direction.
I can now say that ReadOneString doesn't create the error, as I commented the ThrowError part out, but the result stays the same. The funny thing is, the string "unterminated string" cannot be found at any other point than this... Pls help me, I don't know what I should do, but not be able to debug a program sucks.

//edit2: Could it be an error at idewin.cpp?
catch(const CParser::Error& e) {
  Exclamation("Parser error " + e);
  LOG("!!!!! Parser error " + e);
}
  • Attachment: error.jpg
    (Size: 11.07KB, Downloaded 231 times)

[Updated on: Wed, 28 September 2016 09:38]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Possible solution of "icpp problem"
Next Topic: lambda troubles...
Goto Forum:
  


Current Time: Sat Apr 27 23:33:45 CEST 2024

Total time taken to generate the page: 0.03577 seconds