diff --git a/Ghidra/Framework/SoftwareModeling/src/main/antlr/ghidra/sleigh/grammar/SleighParser.g b/Ghidra/Framework/SoftwareModeling/src/main/antlr/ghidra/sleigh/grammar/SleighParser.g index dc8a37ca95..74f75b56e0 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/antlr/ghidra/sleigh/grammar/SleighParser.g +++ b/Ghidra/Framework/SoftwareModeling/src/main/antlr/ghidra/sleigh/grammar/SleighParser.g @@ -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); + } } /**