where : value returned was inverted. 81/12681/6
authorCedric Delamarre <cedric.delamarre@scilab-enterprises.com>
Thu, 26 Sep 2013 13:58:01 +0000 (15:58 +0200)
committerAntoine ELIAS <antoine.elias@scilab-enterprises.com>
Tue, 29 Apr 2014 07:51:40 +0000 (09:51 +0200)
commitbc169e80fc7583cf48731aed90b268174d88d3d9
treeab3d4799aa4053ee1643d42d4f27c95f56d1a790
parent924fe64578966e5f49d711bd1c3527d6baafa025
where : value returned was inverted.
last call was not removed after pause/abort.

function fun()
    [a,b]=where();
    pause
endfunction

fun()
// then abort
[line, fun] = where()

test_run("elementary_functions","IsAScalar",["no_check_error_output" ]);
test_run("core","where",["no_check_error_output" ]);

// restart scilab and copy/past the unit test of where

Change-Id: I41da3fe77d339648f59b993afab5056941fabb4a
scilab/modules/ast/includes/run_CallExp.hxx
scilab/modules/ast/includes/runvisitor.hxx
scilab/modules/core/sci_gateway/cpp/sci_where.cpp
scilab/modules/core/src/cpp/runner.cpp
scilab/modules/system_env/includes/configvariable.hxx
scilab/modules/system_env/src/cpp/configvariable.cpp
scilab/modules/types/includes/callable.hxx
scilab/modules/types/includes/macrofile.hxx
scilab/modules/types/src/cpp/macro.cpp
scilab/modules/types/src/cpp/macrofile.cpp