|
| From: | Rik |
| Subject: | [Octave-bug-tracker] [bug #30652] Line numbers with warnings? |
| Date: | Sun, 09 Feb 2014 22:40:27 +0000 |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 |
Follow-up Comment #7, bug #30652 (project octave):
My point in comment #4 is that we already seem to be adding the line numbers
to backtraces anyways. I don't think we need to change any code at all as the
option is already on by default for regular and --traditional users.
sh> octave -f
octave:1> myf = @(x) 1./ x;
octave:2> myf (0)
warning: division by zero
warning: called from
at line -1 column -1
ans = Inf
octave:3> warning ("off", "backtrace")
octave:4> myf (0)
warning: division by zero
ans = Inf
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30652>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |