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

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

[Octave-bug-tracker] [bug #57159] warning missing-semicolon reports line


From: anonymous
Subject: [Octave-bug-tracker] [bug #57159] warning missing-semicolon reports line -1 and column -1 for an array
Date: Sun, 3 Nov 2019 10:33:28 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

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

                 Summary: warning missing-semicolon reports line -1 and column
-1 for an array
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 03 Nov 2019 03:33:27 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:


user@m $ cat /file
function f1()
[a]
endfunction


octave:1> warning("on", "Octave:missing-semicolon");
octave:2> run("/file");
warning: missing semicolon near line -1, column -1 in file '/file'

If [a] is replaced with a, the reported line and column are 2 and 1
respectively.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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