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
Messages: 231 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
|
|
|
Goto Forum:
Current Time: Fri Apr 25 14:41:30 CEST 2025
Total time taken to generate the page: 0.02206 seconds
|