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

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

[Octave-bug-tracker] [bug #61057] Octave gives incorrect column number i


From: Solomon Douglas
Subject: [Octave-bug-tracker] [bug #61057] Octave gives incorrect column number in error messages
Date: Wed, 18 Aug 2021 15:38:33 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?61057>

                 Summary: Octave gives incorrect column number in error
messages
                 Project: GNU Octave
            Submitted by: solomon
            Submitted on: Wed 18 Aug 2021 07:38:31 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: Solomon Douglas
        Originator Email: 
             Open/Closed: Open
                 Release: 6.3.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

If I try to invoke a nonexistant function (usually due to a typographical
error), the resulting error message gives the same number for both the line
number and the column number. Specifically, it gives the line number twice.

For example, if I have a script "testbug.m" consisting of 99 blank lines and
then a bogus function call, thus:


##...99 blank lines...
aoseutaoesu();


Then when I invoke the script, this is what I get:


>> testbug
error: 'aoseutaoesu' undefined near line 100, column 100
error: called from
    testbug at line 100 column 1
>>





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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