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

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

[Octave-bug-tracker] [bug #43249] Wrong line number in error message


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #43249] Wrong line number in error message
Date: Fri, 26 Feb 2016 09:35:20 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Update of bug #43249 (project octave):

                  Status:               Confirmed => Patch Submitted        
             Assigned to:                    None => lachlan                
                 Release:                   3.8.2 => dev                    
        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #3:

The attached patch fixes this bug.  As Rik indicated, the problem was that the
condition expression was cached in the loop object and there was no call to
set_location when it was evaluated, so the location was just the last line
executed in the loop body.

I think bug #34852 is quite a distinct issue.  That applies to all
expressions, but the current bug seems unique to do...until.

(file #36469)
    _______________________________________________________

Additional Item Attachment:

File name: bug_43249_until_line_number.cset Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43249>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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