comparison libinterp/parse-tree/pt-cbinop.cc @ 21055:5e00ed38a58b

maint: Replace if/error/else paradigm with just if/error. * __ilu__.cc, data.cc, file-io.cc, graphics.cc, graphics.in.h, ls-mat5.cc, lu.cc, octave-link.cc, regexp.cc, schur.cc, spparms.cc, sub2ind.cc, syscalls.cc, toplev.cc, variables.cc, xpow.cc, audiodevinfo.cc, ccolamd.cc, ov-builtin.cc, ov-classdef.cc, ov-intx.h, ov-lazy-idx.cc, ov-mex-fcn.cc, op-int.h, lex.ll, oct-parse.in.yy, pt-binop.cc, pt-cbinop.cc, pt-const.cc, pt-decl.h, pt-fcn-handle.cc, pt-unop.cc, CollocWt.cc: Replace if/error/else paradigm with just if/error.
author Rik <rik@octave.org>
date Wed, 13 Jan 2016 11:02:22 -0800
parents 48b2ad5ee801
children fcac5dbbf9ed
comparison
equal deleted inserted replaced
21054:221847e5f488 21055:5e00ed38a58b
37 { 37 {
38 octave_value_list retval; 38 octave_value_list retval;
39 39
40 if (nargout > 1) 40 if (nargout > 1)
41 error ("binary operator '%s': invalid number of output arguments", 41 error ("binary operator '%s': invalid number of output arguments",
42 oper () . c_str ()); 42 oper ().c_str ());
43 else 43
44 retval = rvalue1 (nargout); 44 retval = rvalue1 (nargout);
45 45
46 return retval; 46 return retval;
47 } 47 }
48 48
49 octave_value 49 octave_value