mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-21 19:42:14 +00:00
#364 - ensure a ParsingEnvironment is provided to DisplayParser and SemanticParser.
This commit is contained in:
parent
49c2010b63
commit
6a9a351869
@ -16,6 +16,13 @@ import DisplayParser, SemanticParser;
|
||||
gDisplayParser.setLexer(lexer);
|
||||
gSemanticParser.setLexer(lexer);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setEnv(ParsingEnvironment env) {
|
||||
super.setEnv(env);
|
||||
gDisplayParser.setEnv(env);
|
||||
gSemanticParser.setEnv(env);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user