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: Mon, 9 Mar 2020 13:44:45 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

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

There once again seem to be some issues with position tracking in the lexer. 
For example, I see different results for different input:


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

  syntax error

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

  syntax error

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

  syntax error

>>> x + &
         ^


I'm looking at ways to make this a bit more reliable.


    _______________________________________________________

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]