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

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

[Octave-bug-tracker] [bug #37132] Parse error with cell arrays


From: Rik
Subject: [Octave-bug-tracker] [bug #37132] Parse error with cell arrays
Date: Fri, 12 Oct 2012 15:27:50 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0

Update of bug #37132 (project octave):

                Severity:              3 - Normal => 2 - Minor              
              Item Group:    Matlab Compatibility => Incorrect Result       
                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

Confirmed on a recent development tip (10/12/2012).

The syntax you are using is correct.  There is a bug in the parser.  It should
treat the newline ("\n") as the equivalent of ";" when deciding whether to
place the next element in either the following column or in a new row.

I'm lowering the severity level since there is a current workaround of always
using the ";" to indicate that a new row is desired.

Perhaps this is related, but it only happens with cell arrays.  The following
code which uses matrices for the inner element, works.


 a = {
> [
> 1
> 2
> ]
> [
> 3
> 4
> ]
> }




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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