diff libinterp/parse-tree/pt-unop.cc @ 18423:9ca314e79956

Allow to call superclass constructor without arguments. * ov-classdef.cc (octave_classdef_superclass_ref::function_value): New method. * pt-funcall.h (tree_funcall::rvalue): Move definition to C++. * pt-funcall.cc (tree_funcall::rvalue): Moved from header. If the result of the function call is a single function object, re-index the function to yield the proper result it required (similar logic as in pt-id.cc).
author Michael Goffioul <michael.goffioul@gmail.com>
date Thu, 23 Jan 2014 21:24:43 -0500
parents d63878346099
children 91cd85a75705
line wrap: on
line diff