error message passed in function error can be empty string. 62/11662/5
authorCedric Delamarre <cedric.delamarre@scilab-enterprises.com>
Thu, 6 Jun 2013 15:30:15 +0000 (17:30 +0200)
committerAntoine ELIAS <antoine.elias@scilab-enterprises.com>
Mon, 10 Jun 2013 12:49:24 +0000 (14:49 +0200)
commit9eed9bca2e470ab7bbb444f70030dd117126f434
tree715176635fdacb2f95ec537d5b40938a587cacd9
parent40f75acb86c56898cf74f0d00d0a90507e1616d6
error message passed in function error can be empty string.

execstr('error('''',555)','errcatch')
[a, z]=lasterror()
error('''',555)
[a, z]=lasterror()
error('',12)
[a, z]=lasterror()

test_run("core","bug_3178",["no_check_error_output" ]);

Change-Id: Ifb85370e30f5469bef99f9212cfcc35f8fad147d
scilab/modules/ast/includes/runvisitor.hxx
scilab/modules/core/sci_gateway/cpp/sci_lasterror.cpp
scilab/modules/functions/sci_gateway/cpp/sci_exec.cpp
scilab/modules/functions/sci_gateway/cpp/sci_execstr.cpp