summaryrefslogtreecommitdiffstats
path: root/scilab/modules
diff options
context:
space:
mode:
authorClément DAVID <clement.david@scilab.org>2011-05-10 11:29:13 +0200
committerAllan CORNET <allan.cornet@scilab.org>2011-05-10 11:45:01 +0200
commite4be69d4109b74ff6f02b875fa73a612e0200755 (patch)
tree052ec35961a635a6f2852fc36919e4e3b4ccf61e /scilab/modules
parentfed7658eca25a5c168ffc140e9b8804ae8fdd78c (diff)
downloadscilab-e4be69d4109b74ff6f02b875fa73a612e0200755.zip
scilab-e4be69d4109b74ff6f02b875fa73a612e0200755.tar.gz
Xcos: bug 9437 fixed - remove redefinition message on loadXcosLibs
Change-Id: I4f6f571582183576c23203ca91dfd8d0ec172485
Diffstat (limited to 'scilab/modules')
-rw-r--r--scilab/modules/xcos/macros/loadXcosLibs.sci3
1 files changed, 2 insertions, 1 deletions
diff --git a/scilab/modules/xcos/macros/loadXcosLibs.sci b/scilab/modules/xcos/macros/loadXcosLibs.sci
index ed2948f..925d510 100644
--- a/scilab/modules/xcos/macros/loadXcosLibs.sci
+++ b/scilab/modules/xcos/macros/loadXcosLibs.sci
@@ -85,6 +85,7 @@ function loadXcosLibs()
85 resumedBlocks = removed'; 85 resumedBlocks = removed';
86 86
87 // put all resumed symbols into the parent scope 87 // put all resumed symbols into the parent scope
88 execstr("[" + strcat([resumedLibs resumedBlocks], ", ") + "] = resume(" + strcat([resumedLibs resumedBlocks], ", ") + ");"); 88 prot = funcprot();
89 execstr("funcprot(0); [" + strcat([resumedLibs resumedBlocks], ", ") + "] = resume(" + strcat([resumedLibs resumedBlocks], ", ") + "); funcprot(" + string(prot) + ");");
89endfunction 90endfunction
90 91