Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
6 changed files
with
194 additions
and
119 deletions.
There are no files selected for viewing
26 changes: 0 additions & 26 deletions
26
TypeCobol.Test/Parser/Programs/TypeCobol/UsageComp1-2.PGM.txt
This file was deleted.
Oops, something went wrong.
83 changes: 0 additions & 83 deletions
83
TypeCobol.Test/Parser/Programs/TypeCobol/UsageComp1-2.SYM.txt
This file was deleted.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
TypeCobol.Test/Parser/Programs/TypeCobol/UsageStandalone.PGM.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- Diagnostics --- | ||
Line 5[11,16] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[11,16:MyVar1]<UserDefinedWord> | ||
Line 6[11,16] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[11,16:MyVar2]<UserDefinedWord> | ||
Line 7[11,16] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[11,16:MyVar3]<UserDefinedWord> | ||
Line 8[11,16] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[11,16:MyVar4]<UserDefinedWord> | ||
Line 9[11,16] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[11,16:MyVar5]<UserDefinedWord> | ||
Line 10[11,16] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[11,16:MyVar6]<UserDefinedWord> | ||
Line 11[11,16] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[11,16:MyVar7]<UserDefinedWord> | ||
Line 17[21,25] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[21,25:var23]<UserDefinedWord> | ||
Line 18[21,25] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[21,25:var24]<UserDefinedWord> | ||
Line 19[21,25] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[21,25:var25]<UserDefinedWord> | ||
|
||
--- Program --- | ||
PROGRAM: DVZF0OSM common:False initial:False recursive:False | ||
author: ? written: ? compiled: ? installation: ? security: ? | ||
--- Intrinsic:Namespace:Program:Global:Local | ||
-- DATA -------- | ||
MyVar1:Numeric | ||
MyVar2:Numeric | ||
MyVar3:Numeric | ||
MyVar4:Numeric | ||
MyVar5:Numeric | ||
MyVar6:Numeric | ||
MyVar7:Numeric | ||
-- FUNCTIONS --- | ||
KONotCorrectFormat | ||
in: var21:Numeric | ||
in: var22:Numeric | ||
in: var23:Numeric | ||
in: var24:Numeric | ||
in: var25:Numeric | ||
in: var26:Numeric | ||
--- Intrinsic | ||
-- TYPES ------- | ||
BOOL:BOOL | ||
DATE:DATE | ||
CURRENCY:CURRENCY | ||
STRING:STRING |
143 changes: 143 additions & 0 deletions
143
TypeCobol.Test/Parser/Programs/TypeCobol/UsageStandalone.SYM.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
--- Diagnostics --- | ||
Line 5[11,16] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[11,16:MyVar1]<UserDefinedWord> | ||
Line 6[11,16] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[11,16:MyVar2]<UserDefinedWord> | ||
Line 7[11,16] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[11,16:MyVar3]<UserDefinedWord> | ||
Line 8[11,16] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[11,16:MyVar4]<UserDefinedWord> | ||
Line 9[11,16] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[11,16:MyVar5]<UserDefinedWord> | ||
Line 10[11,16] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[11,16:MyVar6]<UserDefinedWord> | ||
Line 11[11,16] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[11,16:MyVar7]<UserDefinedWord> | ||
Line 17[21,25] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[21,25:var23]<UserDefinedWord> | ||
Line 18[21,25] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[21,25:var24]<UserDefinedWord> | ||
Line 19[21,25] <27, Error, Syntax> - Syntax error : Variable with usage COMP-1, COMP-2, INDEX, POINTER, POINTER-32, PROCEDURE-POINTER and FUNCTION-POINTER cannot have a PICTURE OffendingSymbol=[21,25:var25]<UserDefinedWord> | ||
|
||
--- Program --- | ||
DVZF0OSM (.NET Type=ProgramSymbol, Kind=Program) | ||
Type: | ||
(.NET Type=ScopeType, Tag=Scope) | ||
WorkingStorageData: | ||
MyVar1 (.NET Type=VariableSymbol, Kind=Variable) | ||
Flags: [WORKING_STORAGE] | ||
Owner: DVZF0OSM | ||
Type: | ||
(.NET Type=PictureType, Tag=Picture) | ||
Usage: Comp1 | ||
Picture: 9(5) | ||
Level: 1 | ||
IsFiller: False | ||
MyVar2 (.NET Type=VariableSymbol, Kind=Variable) | ||
Flags: [WORKING_STORAGE] | ||
Owner: DVZF0OSM | ||
Type: | ||
(.NET Type=PictureType, Tag=Picture) | ||
Usage: Comp2 | ||
Picture: 9(5) | ||
Level: 1 | ||
IsFiller: False | ||
MyVar3 (.NET Type=VariableSymbol, Kind=Variable) | ||
Flags: [WORKING_STORAGE] | ||
Owner: DVZF0OSM | ||
Type: | ||
(.NET Type=PictureType, Tag=Picture) | ||
Usage: Index | ||
Picture: 9(4) | ||
Level: 1 | ||
IsFiller: False | ||
MyVar4 (.NET Type=VariableSymbol, Kind=Variable) | ||
Flags: [WORKING_STORAGE] | ||
Owner: DVZF0OSM | ||
Type: | ||
(.NET Type=PictureType, Tag=Picture) | ||
Usage: Pointer | ||
Picture: 9(4) | ||
Level: 1 | ||
IsFiller: False | ||
MyVar5 (.NET Type=VariableSymbol, Kind=Variable) | ||
Flags: [WORKING_STORAGE] | ||
Owner: DVZF0OSM | ||
Type: | ||
(.NET Type=PictureType, Tag=Picture) | ||
Usage: Pointer32 | ||
Picture: 9(4) | ||
Level: 1 | ||
IsFiller: False | ||
MyVar6 (.NET Type=VariableSymbol, Kind=Variable) | ||
Flags: [WORKING_STORAGE] | ||
Owner: DVZF0OSM | ||
Type: | ||
(.NET Type=PictureType, Tag=Picture) | ||
Usage: ProcedurePointer | ||
Picture: 9(8) | ||
Level: 1 | ||
IsFiller: False | ||
MyVar7 (.NET Type=VariableSymbol, Kind=Variable) | ||
Flags: [WORKING_STORAGE] | ||
Owner: DVZF0OSM | ||
Type: | ||
(.NET Type=PictureType, Tag=Picture) | ||
Usage: FunctionPointer | ||
Picture: 9(4) | ||
Level: 1 | ||
IsFiller: False | ||
Functions: | ||
KONotCorrectFormat (.NET Type=FunctionSymbol, Kind=Function) | ||
Flags: [Private] | ||
Owner: DVZF0OSM | ||
Type: | ||
(.NET Type=ScopeType, Tag=Scope) | ||
Parameters: [DVZF0OSM::KONotCorrectFormat::var21, DVZF0OSM::KONotCorrectFormat::var22, DVZF0OSM::KONotCorrectFormat::var23, DVZF0OSM::KONotCorrectFormat::var24, DVZF0OSM::KONotCorrectFormat::var25, DVZF0OSM::KONotCorrectFormat::var26] | ||
LinkageData: | ||
var21 (.NET Type=VariableSymbol, Kind=Variable) | ||
Flags: [LINKAGE, Input, Parameter] | ||
Owner: DVZF0OSM::KONotCorrectFormat | ||
Type: | ||
(.NET Type=PictureType, Tag=Picture) | ||
Picture: S(1)9(5) | ||
Level: 1 | ||
IsFiller: False | ||
var22 (.NET Type=VariableSymbol, Kind=Variable) | ||
Flags: [LINKAGE, Input, Parameter] | ||
Owner: DVZF0OSM::KONotCorrectFormat | ||
Type: | ||
(.NET Type=PictureType, Tag=Picture) | ||
Usage: Comp | ||
Picture: S(1)9(6) | ||
Level: 1 | ||
IsFiller: False | ||
var23 (.NET Type=VariableSymbol, Kind=Variable) | ||
Flags: [LINKAGE, Input, Parameter] | ||
Owner: DVZF0OSM::KONotCorrectFormat | ||
Type: | ||
(.NET Type=PictureType, Tag=Picture) | ||
Usage: Comp1 | ||
Picture: S(1)9(7) | ||
Level: 1 | ||
IsFiller: False | ||
var24 (.NET Type=VariableSymbol, Kind=Variable) | ||
Flags: [LINKAGE, Input, Parameter] | ||
Owner: DVZF0OSM::KONotCorrectFormat | ||
Type: | ||
(.NET Type=PictureType, Tag=Picture) | ||
Usage: Comp2 | ||
Picture: S(1)9(8) | ||
Level: 1 | ||
IsFiller: False | ||
var25 (.NET Type=VariableSymbol, Kind=Variable) | ||
Flags: [LINKAGE, Input, Parameter] | ||
Owner: DVZF0OSM::KONotCorrectFormat | ||
Type: | ||
(.NET Type=PictureType, Tag=Picture) | ||
Usage: Index | ||
Picture: 9(4) | ||
Level: 1 | ||
IsFiller: False | ||
var26 (.NET Type=VariableSymbol, Kind=Variable) | ||
Flags: [LINKAGE, Input, Parameter] | ||
Owner: DVZF0OSM::KONotCorrectFormat | ||
Type: | ||
(.NET Type=PictureType, Tag=Picture) | ||
Usage: Comp5 | ||
Picture: 9(10) | ||
Level: 1 | ||
IsFiller: False | ||
IsNested: False | ||
|
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