Log in

View Full Version : Error without description


redfordxx
28th April 2006, 08:47
I've been makin some scripts and suddenly I got error, that Avisynth can't be opened (no details) I was on all scripts I ever made and they worked recently fine... So I thought it was borked installation.

I three times reinstalled WinXP, it always helped but after while the problem was back.

Then I found the reason: I had in Avisynth\plugins directory file stript.avsi, which looked like this:
function F(....)
#blabla
{
code
}
and should be
function F(....)
{
#blabla
code
}
I have no clue, how it is difficult, but if not, it will be helpful, to obtain err message like "expected { on line ..."

IanB
28th April 2006, 14:52
Yes the parser is a little fragile when handling comments mid stream.

This borks the same waySomeCall(arg1, # Comment
\ arg2, # Comment
\ arg3) # CommentWe will see what can be done.