Mercurial > octave-libgccjit
changeset 15941:8135bce0812a
struct2hdl.m: send error when the requested object type is not implemented.
* scripts/plot/struct2hdl.m: send error when the requested object type is not
implemented.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Sun, 13 Jan 2013 21:57:02 +0100 |
parents | f37c909f80a0 |
children | 75cea615ade4 |
files | scripts/plot/struct2hdl.m |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/struct2hdl.m Sun Jan 13 20:37:52 2013 -0800 +++ b/scripts/plot/struct2hdl.m Sun Jan 13 21:57:02 2013 +0100 @@ -148,6 +148,8 @@ h = createsurface (s, par); elseif (strcmp (s.type, "hggroup")) [h, s, p] = createhg (s, p, par, hilev); + else + error ("struct2hdl: %s objects are not implemented yet", s.type) endif ## children