Skip to content

Commit

Permalink
fix: correct map clearing logic
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Stahl <patrick.stahl@uni-jena.de>
  • Loading branch information
PatrickStahl committed Nov 18, 2024
1 parent c12fea6 commit 0794628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/SourceContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ export class SourceContext implements ISourceContext {
this.grammarLexerData = undefined;
this.grammarLexerRuleMap.clear();
this.grammarParserData = undefined;
this.grammarLexerRuleMap.clear();
this.grammarParserRuleMap.clear();

this.semanticAnalysisDone = false;
this.diagnostics.length = 0;
Expand Down

0 comments on commit 0794628

Please sign in to comment.