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

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

[Octave-bug-tracker] [bug #34852] incorrect column number on error messa


From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #34852] incorrect column number on error messages
Date: Thu, 17 Nov 2011 20:40:00 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Turboant/3.6.13

Follow-up Comment #2, bug #34852 (project octave):

It's difficult to see here because the web interface eats whitespace (use
verbatim ... verbatim tags here next time to enclose code), but the problem is
that the error line is pointing to the assignment operator instead of the
multiplication operator.

A relevant discussion from #octave follows: 



<jwe> We currently don't save teh information about the locations of
individual operators when we are evaluating them.

<jwe> So the matrix multiply function can't print it.

<jwe> And the code that generates the backtrace just looks at the call
stack, which has info only about the locations of the statements.

<jwe> For the line with teh assignment, the location is the location
of the = operator.

<jwe> We should probably just drop the column number from the error
message so it is not misleading.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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