mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-10 14:11:59 +00:00
GP-4761 fixing bug in goto processing to handle multiple level
namespaces
This commit is contained in:
parent
fb6445277a
commit
05258287b4
@ -510,7 +510,7 @@ public class GoToQuery {
|
|||||||
int colonIndex = scopeName.lastIndexOf("::");
|
int colonIndex = scopeName.lastIndexOf("::");
|
||||||
if (colonIndex >= 0) {
|
if (colonIndex >= 0) {
|
||||||
String parentScopeName = scopeName.substring(0, colonIndex);
|
String parentScopeName = scopeName.substring(0, colonIndex);
|
||||||
scopeName = scopeName.substring(colonIndex + 1);
|
scopeName = scopeName.substring(colonIndex + 2);
|
||||||
parent = getScope(program, parent, parentScopeName);
|
parent = getScope(program, parent, parentScopeName);
|
||||||
if (parent == null) {
|
if (parent == null) {
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user