Error reporting problem with the actionscript parser

(imported topic written by SystemAdmin)

Hi,

I’m not sure if this is an problem within version 8 or whether the actionscript parser has always had this problem.

I was creating a task with an actionscript that was, basically:-

delete “__appendfile”

delete “fim_check”

createfile until END_OF_SCRIPT

bunch of shell script lines

END_OF_SCRIPT

move __appendfile ./fim_check

chmod +x ./fim_check

run sh ./fim_check

There is an error in my actionscript (the ‘chmod’ bit) that gets picked up by the parser when I try and save the task but the error message displays the error as being on line 0 (see attached file Error_1 )

If I comment out all the lines from the createfile to the END_OF_SCRIPT, inclusive, it correctly tells me the the error is on line 88 (see attached file Error_2).

(imported comment written by SystemAdmin)

Oops - here’s the second attachement…