MantisBT - mSLDev
View Issue Details
0000238mSLDevSyntax Checkingpublic2014-09-23 09:502014-09-23 20:56
Denny 
administrator 
normalminoralways
resolvedfixed 
Win7 32-bitWindows 7(6.1)
0.3.1.0 
0.4.1.0 
7.32
0000238: Closing brace not found when using $&
mSLDev cannot find the opening brace when using an if-state (have not tried with other statements) with $& at the end of the state and continuing on the next line with three or more statements
Test code:

alias test {
  if (test1) $&
    && (test2) && (test3) && (test4) {
    echo -ag test
  }
}
No tags attached.
Issue History
2014-09-23 09:50DennyNew Issue
2014-09-23 11:53ZmodemNote Added: 0000163
2014-09-23 16:30ZmodemNote Deleted: 0000163
2014-09-23 16:33WimsNote Added: 0000164
2014-09-23 20:56administratorNote Added: 0000165
2014-09-23 20:56administratorStatusnew => resolved
2014-09-23 20:56administratorFixed in Version => 0.4.1.0
2014-09-23 20:56administratorResolutionopen => fixed
2014-09-23 20:56administratorAssigned To => administrator

Notes
(0000164)
Wims   
2014-09-23 16:33   
That code works on the latest version (0.4.0.111)
However, if you paste that code, the cursor ends up being on the last }, which is correctly highlighted, however the corresponding { is not highlighted in this case.
(0000165)
administrator   
2014-09-23 20:56   
This was fixed sometime in 0.4.x; Additionally, the bracket matching not working on the { on the second line has also been fixed.