diff src/pt-fcn-handle.cc @ 13125:34a49d076155

Show row/column for anonymous functions in the profiler * oct-parse.yy (make_anon_fcn_handle): Initialize l and c to current position. * pt-fcn-handle.h: Keep track of filename. * pt-fcn-handle.cc: Ditto.
author Daniel Kraft <d@domob.eu>
date Fri, 09 Sep 2011 20:14:53 +0200
parents ad9263d965dc
children 2a8dcb5b3a00
line wrap: on
line diff
--- a/src/pt-fcn-handle.cc	Thu Sep 08 10:38:49 2011 -0500
+++ b/src/pt-fcn-handle.cc	Fri Sep 09 20:14:53 2011 +0200
@@ -127,6 +127,7 @@
     }
 
   uf->mark_as_inline_function ();
+  uf->stash_fcn_file_name (file_name);
   uf->stash_fcn_location (line (), column ());
 
   octave_value ov_fcn (uf);