diff libinterp/corefcn/fcn-info.cc @ 24269:f494b87d2a93

rename scope to symbol_scope * symscope.h, symscope.cc: Rename from scope.h and scope.cc. (class symbol_scope): Rename from scope. Change all uses.
author John W. Eaton <jwe@octave.org>
date Thu, 16 Nov 2017 19:39:00 -0500
parents 3b302b2890d7
children 5abd4d7cbd36
line wrap: on
line diff
--- a/libinterp/corefcn/fcn-info.cc	Fri Nov 17 16:53:42 2017 +0000
+++ b/libinterp/corefcn/fcn-info.cc	Thu Nov 16 19:39:00 2017 -0500
@@ -34,8 +34,8 @@
 #include "ov-fcn.h"
 #include "ov-usr-fcn.h"
 #include "parse.h"
-#include "scope.h"
 #include "symrec.h"
+#include "symscope.h"
 #include "symtab.h"
 
 namespace octave
@@ -374,7 +374,7 @@
   {
     if (local_funcs)
       {
-        scope *curr_scope
+        symbol_scope *curr_scope
           = __get_current_scope__ ("fcn_info::fcn_info_rep::xfind");
 
         octave_user_function *current_fcn
@@ -592,7 +592,7 @@
 
     // Private function.
 
-    scope *curr_scope
+    symbol_scope *curr_scope
       = __get_current_scope__ ("fcn_info::fcn_info_rep::x_builtin_find");
 
     octave_user_function *current_fcn = curr_scope ? curr_scope->function () : nullptr;