[Top][All Lists]

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

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

From: Rik
Subject: [Octave-bug-tracker] [bug #57159] warning missing-semicolon reports line -1 and column -1 for an array
Date: Sun, 3 Nov 2019 11:12:47 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #57159 (project octave):

                Severity:              3 - Normal => 1 - Wish               
                Priority:              5 - Normal => 3 - Low                
              Item Group:         Feature Request => Inaccurate Result      
                  Status:                    None => Confirmed              
                 Release:                   5.1.0 => dev                    


Follow-up Comment #1:

Confirmed.  I have uploaded a new example file "f2.m" which I used to
reproduce the result.  The contents of f2.m are

function f1()

Running the code with the latest development branch shows

run-octave -f -q
octave:1> warning ("on", "Octave:missing-semicolon");
octave:2> f2
warning: missing semicolon near line -1, column -1 in file
warning: function name 'f1' does not agree with function filename
error: 'a' undefined near line 2, column 2
error: called from

So some reporting, such as 'a' undefined', correctly identifies the line
number, while the missing semicolon warning does not.

(file #47789)

Additional Item Attachment:

File name: f2.m                           Size:0 KB


Reply to this item at:


  Message sent via Savannah

reply via email to

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