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 » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » [Bug?] mismatching closing brace with opening brace
[Bug?] mismatching closing brace with opening brace [message #45904] Sun, 24 January 2016 12:01
slashupp is currently offline  slashupp
Messages: 211
Registered: July 2009
Experienced Member
I've managed to identify the cause as demo'ed in this code:

void dummy()
{
	if (a)
	{
		if (b)
		{
			//putting brackets around qouted string containing a s-quote
			//cause the closing brace to mismatch it's opener
			
			c=("'"); //cause mismatch of closing brace
			//c=("''"); //cause mismatch of closing brace
			//c=("\'"); //cause mismatch of closing brace
			//c=('\''); //cause mismatch of closing brace
			
			//c='\''; //ok
			//c=(""); //ok
			//c=("\""); //ok
			//c="'"; //ok
		} //<<<--- placing cursor here will hi-lite brace at 'if (a)'
	}
}

Don't know if this is just a decrement too many, or a symptom of another problem...

[Updated on: Sun, 24 January 2016 12:02]

Report message to a moderator

Previous Topic: need commands for using umk.exe from visual studio.
Next Topic: Intellisense not working.
Goto Forum:
  


Current Time: Mon Nov 29 13:14:01 CET 2021

Total time taken to generate the page: 0.01017 seconds