octave-maintainers
[Top][All Lists]
Advanced

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

Re: syntax error indicator missing in Octave 6


From: Rik
Subject: Re: syntax error indicator missing in Octave 6
Date: Mon, 2 Mar 2020 08:01:38 -0800

On 03/01/2020 09:00 AM, address@hidden wrote:
Subject:
parse syntax error caret indicator missing in 6
From:
Colin Macdonald <address@hidden>
Date:
02/29/2020 03:25 PM
To:
"address@hidden" <address@hidden>
List-Post:
<mailto:address@hidden>
Content-Transfer-Encoding:
7bit
Precedence:
list
MIME-Version:
1.0
Message-ID:
<address@hidden>
Content-Type:
text/plain; charset=utf-8; format=flowed
Message:
1

The caret syntax error indicator seems to missing in 6.0.  Is this a regression?  Its still mentioned in doc/interpreter/basics.txi

In 5.2:

```
octave:1> 1 + (2 + !)
parse error:

  syntax error

>>> 1 + (2 + !)
              ^

```

In 6.0 and 7.0 from git/hg:

```
1 + (2 + !))
error: parse error:

  syntax error

```
(tested with today's tip and much older 6.0 stable)

I have a vague sense this was discussed, so apologies if this is a dupe.

thanks,
Colin

-- 
Colin Macdonald
Associate Professor
Dept of Math, UBC

Yes, this is a regression.  I filed a bug report about this back in January (https://savannah.gnu.org/bugs/index.php?57536).  Unfortunately there aren't a lot of coders with expertise in the parser portion of Octave, perhaps only jwe at this point.

--Rik



reply via email to

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