octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58279] vararginvarargout


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #58279] vararginvarargout
Date: Fri, 1 May 2020 02:30:27 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #5, bug #58279 (project octave):

I pushed the following changesets to stable:

http://hg.savannah.gnu.org/hgweb/octave/rev/3241ede9806c
http://hg.savannah.gnu.org/hgweb/octave/rev/ae94e3fad6d4

Printing functions from parse tree info should be better now, not only for
varargin/varargout but also for things like


function [] = foo
function [] = foo ()
function foo ()
function foo
function x = foo ...
function varargout = foo ...


where now an attempt is made to preserve the parens and brackets when they
were provided, except I didn't handle either of the following cases yet (the
brackets are stripped when there is only a single element in the output list
even if the brackets were present in the function definition - maybe someday
that could also be fixed):


function [x] = foo ...
function [varargout] = foo ...


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58279>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]