Also update recursive call to d_lookup_symbol_imports.
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 21 Feb 2016 21:05:46 +0000 (22:05 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sun, 21 Feb 2016 21:05:49 +0000 (22:05 +0100)
gdb/d-namespace.c

index 2c8b36c988fbb20e9e634a9963a5141a723b22e9..6399ef012f3d76d22f7730ea57e56e6aa36d7820 100644 (file)
@@ -485,7 +485,7 @@ d_lookup_symbol_imports (const char *scope, const char *name,
                      name_scope++;
                      sym = d_lookup_symbol_imports (current->import_src,
                                                     name + name_scope,
-                                                    block, domain, 0);
+                                                    block, domain);
                    }
                }
            }
@@ -495,7 +495,7 @@ d_lookup_symbol_imports (const char *scope, const char *name,
                 current->import_src as MODULE to direct the search
                 towards the imported module.  */
              sym = d_lookup_symbol_imports (current->import_src,
-                                            name, block, domain, 0);
+                                            name, block, domain);
            }
          current->searched = 0;
          discard_cleanups (searched_cleanup);