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

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

[Octave-bug-tracker] [bug #57536] Interpreter no longer indicates where


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #57536] Interpreter no longer indicates where error is in line with parse error
Date: Tue, 10 Mar 2020 07:59:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #4, bug #57536 (project octave):

I pushed the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/026bff6a54d7

Oops, I just noticed I used the wrong bug number in the commit message. 
Wouldn't it be great if errors like that could be fixed in the repo.

Anyway, now I see:


octave:1> x = ls a
error: parse error:

  syntax error

>>> x = ls a
           ^
octave:1> 1 + @
error: parse error:

  syntax error

>>> 1 + @
        ^
octave:1> 1 + &
error: parse error:

  syntax error

>>> 1 + &
        ^
octave:1> 1 + 2 / 4 * 3 + &&
error: parse error:

  syntax error

>>> 1 + 2 / 4 * 3 + &&
                     ^



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57536>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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