changeset 27440:d5fc84964eb9

* pt-eval.cc (debugger::repl): Use evmgr as event_manager variable name.
author John W. Eaton <jwe@octave.org>
date Tue, 24 Sep 2019 18:43:44 -0400
parents 251056aeba5d
children a36cb488fc97
files libinterp/parse-tree/pt-eval.cc
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-eval.cc	Mon Sep 23 13:51:17 2019 -0700
+++ b/libinterp/parse-tree/pt-eval.cc	Tue Sep 24 18:43:44 2019 -0400
@@ -195,8 +195,9 @@
 
             evmgr.set_workspace ();
 
-            frame.add ([fcn_nm, curr_debug_line] (event_manager& ol) {
-                         ol.execute_in_debugger_event (fcn_nm, curr_debug_line);
+            frame.add ([fcn_nm, curr_debug_line] (event_manager& evmgr) {
+                         evmgr.execute_in_debugger_event (fcn_nm,
+                                                          curr_debug_line);
                        }, std::ref (evmgr));
 
             if (! silent)