forked from TypeCobolTeam/TypeCobol
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…ypeCobolTeam#1327 Fix Global scope TypeCobol refactoring but doesn't change its goals: - Resolve type reference - Detect circular reference between typedef - Register link between type and variable in SymbolTable TypeCobolLinker is now in CrossCheck phase. It doesn't check/link dependencies directly but start Type resolution from the main file. This allows to fix TypeCobolTeam#1326 and TypeCobolTeam#1338. It means the loading order of dependencies doesn't affect the work of TypeCobolLinker. As a TypeCobolLinker only start its work from the main file, it means that unused Typedef and procedure in dependencies won't be resolved anymore. Type of used procedure will only be resolved, WI TypeCobolTeam#1295 TypeCobolLinker can now detect circular references between more than 2 types. It can also handle circular references between main file and dependencies. WI TypeCobolTeam#1327 Fix global but it requires new TypeCobolLinker thats why it's merged in the same commit. The correct SymbolTable is now associated with global Node.
- Loading branch information
Showing
15 changed files
with
472 additions
and
242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
TypeCobol.Test/Parser/Programs/Cobol2002/ParserIntegration.rdzPGM.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 2 additions & 12 deletions
14
TypeCobol.Test/Parser/Programs/TypeCobol/CircularReferenceType.rdzPGM.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.