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
Re: Parser error: Unterminated string [message #46954 is a reply to message #46953] Wed, 28 September 2016 11:27 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
NilaT wrote on Wed, 28 September 2016 09:09
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);
}


I remember fixing bug like that... Are you sure you have the latest trunk ide?
 
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: Fri May 10 03:45:46 CEST 2024

Total time taken to generate the page: 0.01179 seconds