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

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

[Octave-bug-tracker] [bug #39032] parsing comma after line break


From: Adam H Aitkenhead
Subject: [Octave-bug-tracker] [bug #39032] parsing comma after line break
Date: Fri, 24 May 2013 15:36:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Firefox/17.0

Follow-up Comment #1, bug #39032 (project octave):

The same problem exists without the line break.  Octave gives a parse error if
an array definition begins with a comma or a semicolon:

Octave:
++
octave:1> a = [,3]
parse error:

  syntax error

>>> a = [,3]
          ^

octave:2> a = [;3]
parse error:

  syntax error

>>> a = [;3]
          ^
--

Matlab:
++
>> a = [,3]
a = 
     3
>> a = [;3]
a = 
     3
--

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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