MantisBT - mSLDev
View Issue Details
0000147mSLDevSyntax Checkingpublic2013-04-17 20:532013-04-17 21:07
Wims 
administrator 
normalminoralways
closedno change required 
 
0.4.1.0 
0000147: condition and extra )
Load this in an alias file:
nohtml& {
  var %pos
  while ($bfind($1,1,<).text)) {
    %pos = $v1
    if ($bfind($1,$calc(1+%pos),>).text) bcopy -c $1 %pos $1 $iif($v1 != $bvar($1,0),$calc((1+$v1)*((%v -%a) - (%o *(%c - %m)) -1)),$v1 0)
    else bcopy -c $1 1 $1 1 $calc(%pos -1)
  }
  while ($bfind($1,1,>).text) bcopy -c $1 1 $1 $calc(1+$v1) -1
}

see how msldev reports weird things.
No tags attached.
Issue History
2013-04-17 20:53WimsNew Issue
2013-04-17 21:07administratorNote Added: 0000090
2013-04-17 21:07administratorStatusnew => closed
2013-04-17 21:07administratorAssigned To => administrator
2013-04-17 21:07administratorResolutionopen => no change required
2013-04-17 21:07administratorFixed in Version => 0.4.1.0
2013-04-17 21:08administratorNote Edited: 0000090bug_revision_view_page.php?bugnote_id=90#r64

Notes
(0000090)
administrator   
2013-04-17 21:07   
(edited on: 2013-04-17 21:08)
Not a bug, you get two errors:

File 3:29 Alias Trailing Characters after closing brace.
File 9:1 Alias Alias missing actual commands.

The first one is the trailing characters:

while ($bfind($1,1,<).text)[)] {

Where I boxed it.

And the second error is

}

Which is on a line of it's own, so it's treated as an alias with no command just like if it were:

foobar

Due to the nature of your original error, there were propagating errors.