Skip to content

Commit 6939f4b

Browse files
cirrasfourls
authored andcommitted
Skip legacy initialization section in the symbol table interface visitor
1 parent 890d92f commit 6939f4b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414

1515
### Fixed
1616

17+
- Name resolution failures in legacy initialization sections referencing the implementation section.
1718
- Incorrect file position calculation for multiline string tokens.
1819

1920
## [1.15.0] - 2025-04-03

delphi-frontend/src/main/java/au/com/integradev/delphi/antlr/ast/visitors/SymbolTableVisitor.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,11 @@ public Data visit(InitializationSectionNode node, Data data) {
277277
public Data visit(FinalizationSectionNode node, Data data) {
278278
return data;
279279
}
280+
281+
@Override
282+
public Data visit(CompoundStatementNode node, Data data) {
283+
return data;
284+
}
280285
};
281286
}
282287

0 commit comments

Comments
 (0)