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

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

[Octave-bug-tracker] [bug #41048] error parsing beyond inline comment af


From: Garrett
Subject: [Octave-bug-tracker] [bug #41048] error parsing beyond inline comment after line continuation
Date: Tue, 31 Dec 2013 20:52:58 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

URL:
  <http://savannah.gnu.org/bugs/?41048>

                 Summary: error parsing beyond inline comment after line
continuation
                 Project: GNU Octave
            Submitted by: g2e
            Submitted on: Tue 31 Dec 2013 08:52:57 PM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Just getting 3.8.0 installed on Fedora 20 and while testing a few of my
scripts I noticed a regression in parsing char/cell arrays made with line
continuations and inline comments.  A couple simple examples:


octave:1> a=['a' ... % hi
> 'b'];
parse error:

  syntax error

>>> 'b'];
      ^

octave:1> a={'a' ... % hi
> 'b'};
parse error:

  syntax error

>>> 'b'};
      ^



Under 3.6.4 these commands parse without error or issue.  As an aside, inline
comments in numeric arrays appear to work as expected in 3.8.0:


octave:1> a=[1 ... % hi
> 2];
octave:2> a
a =

   1   2

octave:3> 







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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