mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
#364 - ensure a ParsingEnvironment is provided to DisplayParser and SemanticParser.
This commit is contained in:
parent
49c2010b63
commit
6a9a351869
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue