TypeCobol
TypeCobol copied to clipboard
TypeCobol is an Incremental Cobol parser for IBM Enterprise Cobol 6 for zOS syntax. TypeCobol is also an extension of Cobol 85 language which can then be converted to Cobol85.
**What is the current problem** URIs are not always managed properly in Language Server. **Describe the solution you'd like** URI is originally sent by the client. It should not be...
EI Legacy replacing syntax does not work as expected. What needs to be changed: - suffixing works on line as a whole - it means that the whole line is...
In current code the `StorageArea` associated with the file name or table name used as a SORT target is not captured correctly. Change code so as to add the storage...
**Describe the bug** The new code introduced with 358d72a839d1c5fb30c4190f5d8a9132c14f06de is bugged. The detection of the first line does not work with copys because `LineIndex` is reset when jumping from importing...
**Describe the bug** Unbounded tables can only be declared in LINKAGE SECTION, this is currently not checked. **To Reproduce** (Type)Cobol code that cause the bug : (if any) ```cobol IDENTIFICATION...
Child of #2467. **Describe the bug** Ignoring the inside/outside procedure division flag in scan state results in failed tests for `ClearDocumentThenRewriteLineByLineInReverseOrder` incremental changes generator. *List of differences* - [InitializeStatement](https://github.com/TypeCobolTeam/TypeCobol/blob/develop/TypeCobol.Test/Parser/Programs/Cobol2002/InitializeStatement.rdz.tcbl).rdz vs...
**Describe the bug** Child of #1673. Detected with `AddEmptyLineInTheMiddleThenRemove` change generator. Also check incremental tests `RewriteLineByLineInReverseOrder` [ContinuationLine9](https://github.com/TypeCobolTeam/TypeCobol/blob/develop/TypeCobol.Test/Parser/Programs/Cobol85/ContinuationLine/ContinuationLine9.rdz.cbl) and [InitialValuesContinuations](https://github.com/TypeCobolTeam/TypeCobol/blob/develop/TypeCobol.Test/Parser/Programs/Cobol85/ContinuationLine/InitialValuesContinuations.rdz.cbl). **To Reproduce** (Type)Cobol code that cause the bug : (if any)...
**Describe the bug** It looks like IBM compiler consider missing space after semicolon as a warning but not as an error. **To Reproduce** (Type)Cobol code that cause the bug :...
**Describe the bug** A `NullReferenceException` occurred in method `GetTokenStartingFrom`. Stacktrace is: ``` à TypeCobol.Compiler.Scanner.Scanner.GetTokenStartingFrom(Int32 startIndex) à TypeCobol.Compiler.Scanner.Scanner.ScanTokensLine(TokensLine tokensLine, MultilineScanState initialScanState, TypeCobolOptions compilerOptions, List`1 copyTextNameVariations, BitArray multiStringConcatBitPosition) à TypeCobol.Compiler.Scanner.Scanner.ScanTokensLineContinuationGroup(IList`1 continuationLinesGroup, MultilineScanState...
**Describe the bug** A `NullReferenceException` occurred in method `OnDidChangeTextDocument`. Stacktrace is: ``` à TypeCobol.LanguageServer.TypeCobolServer.OnDidChangeTextDocument(DidChangeTextDocumentParams parameters) à TypeCobol.LanguageServer.VsCodeProtocol.LanguageServer.CallDidChangeTextDocument(NotificationType notificationType, Object parameters) ``` parser version: v1.5.19. **To Reproduce** TODO **Expected behavior** No...