reporting: let subsasgn take {} ref
parent
ef6935fe96
commit
c862fdfbb7
|
@ -40,6 +40,9 @@ switch S.type
|
|||
otherwise
|
||||
error(['@graph.subsasgn: field ' S.subs 'does not exist']);
|
||||
end
|
||||
case '{}'
|
||||
assert(isint(S.subs{1}));
|
||||
B{S.subs{1}} = V;
|
||||
otherwise
|
||||
error('@graph.subsasgn: syntax error');
|
||||
end
|
||||
|
|
|
@ -36,6 +36,9 @@ switch S.type
|
|||
otherwise
|
||||
error(['@report_table.subsasgn: field ' S.subs 'does not exist in the report_table class'])
|
||||
end
|
||||
case '{}'
|
||||
assert(isint(S.subs{1}));
|
||||
B{S.subs{1}} = V;
|
||||
otherwise
|
||||
error('@report_table.subsasgn: syntax error')
|
||||
end
|
||||
|
|
|
@ -40,6 +40,9 @@ switch S.type
|
|||
otherwise
|
||||
error(['@vspace.subsasgn: field ' S.subs 'does not exist']);
|
||||
end
|
||||
case '{}'
|
||||
assert(isint(S.subs{1}));
|
||||
B{S.subs{1}} = V;
|
||||
otherwise
|
||||
error('@vspace.subsasgn: syntax error');
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue