projects
/
scilab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
* Bug 15853 fixed: mlist('cblock') endless 'operation+:..' warnings
[scilab.git]
/
scilab
/
modules
/
overloading
/
macros
/
%cblock_p.sci
diff --git
a/scilab/modules/overloading/macros/%cblock_p.sci
b/scilab/modules/overloading/macros/%cblock_p.sci
index
cf6692c
..
7982394
100644
(file)
--- a/
scilab/modules/overloading/macros/%cblock_p.sci
+++ b/
scilab/modules/overloading/macros/%cblock_p.sci
@@
-12,6
+12,10
@@
function %cblock_p(m)
n=size(definedfields(m),"*")
+ if n==1 then
+ mprintf(_(" (empty table)\n"))
+ return
+ end
txt=[];
for k=2:n
txt=[txt string(getfield(k,m))];