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

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

[Octave-bug-tracker] [bug #44934] try/catch prints extra newline when pa


From: Rik
Subject: [Octave-bug-tracker] [bug #44934] try/catch prints extra newline when parsing bad classdef file
Date: Mon, 27 Apr 2015 16:48:59 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0

Update of bug #44934 (project octave):

                 Summary: try/catch prints extra newline => try/catch prints
extra newline when parsing bad classdef file

    _______________________________________________________

Follow-up Comment #2:

Further debugging shows that it is only a problem when the parser is trying to
deal with an empty class name to inherit from.

Currently, the first line of DocSimpleDouble is


classdef DocSimpleDouble < \n


where I have explicitly shown the newline (it isn't shown in the editor). 
With this configuration there is an extra newline printed from tst_try.m.

If I change the first line to


classdef DocSimpleDouble < abc


then there is no extra newline printed.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44934>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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