genlib hangs if an unexpected endfunction occurs
Reported by Serge STEER
BUG DESCRIPTION:
----------------
If a .sci file in a directory contains an unexpected endfunction genlib returns, leaving Scilab in a strange state : the instructions submitted after are not executed.
ERROR LOG:
----------
none
HOW TO REPRODUCE THE BUG:
-------------------------
create a directory (test for example) an create in it the foo.sci file with the following instructions:
function foo()
x=1
endfunction
endfunction
The start Scilab and execute
genlib("testlib","test",%t)
After that, enter any instruction at the prompt
OTHER INFORMATION:
------------------
This problem is fixed in scilab-6