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

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

[Octave-bug-tracker] [bug #60781] Strange Error that should not happen!


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #60781] Strange Error that should not happen!
Date: Wed, 16 Jun 2021 14:59:40 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0

Update of bug #60781 (project octave):

                  Status:                    None => Works For Me           

    _______________________________________________________

Follow-up Comment #3:

@woellhaf: Can you show a typical Octave session including the "strange" and
non deterministic error messages you get. Here is what I get if I run your
test script twice:


octave:1> ls
DemoError1.m
octave:2> DemoError1
error: parse error near line 6 of file /tmp/mozilla_pantxo0/DemoError1.m

  syntax error

>>> function [y]=snow(x)
           ^
octave:3> 
octave:3> DemoError1
error: parse error near line 6 of file /tmp/mozilla_pantxo0/DemoError1.m

  syntax error

>>> function [y]=snow(x)
           ^
octave:4> 


I admit that the error message is not very helpful to determine the origin of
the error -ideally something like "unclosed parents were found" would help-
but at least it shows the line where the parser gets confused, and it is
predictable for me. This is on linux.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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