Skip to content
Snippets Groups Projects
Commit f70ae835 authored by James K. Lowden's avatar James K. Lowden :anchor:
Browse files

UAT tests pass

parent af5c2360
No related branches found
No related tags found
No related merge requests found
Pipeline #2433 failed
...@@ -5269,43 +5269,43 @@ AT_CHECK([$COMPILE prog.cob], [1], [], ...@@ -5269,43 +5269,43 @@ AT_CHECK([$COMPILE prog.cob], [1], [],
[prog.cob:12:29: error: syntax error, unexpected NAME, expecting datetime format [prog.cob:12:29: error: syntax error, unexpected NAME, expecting datetime format
12 | (invalid-date-format) <> SPACES 12 | (invalid-date-format) <> SPACES
| ^ | ^
prog.cob:16:12: error: syntax error, unexpected END_IF prog.cob:16:12: error: syntax error, unexpected END-IF
16 | END-IF 16 | END-IF
| ^ | ^
prog.cob:18:40: error: syntax error, unexpected NAME, expecting date format prog.cob:18:40: error: syntax error, unexpected NAME, expecting date format
18 | IF FUNCTION FORMATTED-DATE (invalid-date-format, 1) <> SPACES 18 | IF FUNCTION FORMATTED-DATE (invalid-date-format, 1) <> SPACES
| ^ | ^
prog.cob:22:12: error: syntax error, unexpected END_IF prog.cob:22:12: error: syntax error, unexpected END-IF
22 | END-IF 22 | END-IF
| ^ | ^
prog.cob:25:29: error: syntax error, unexpected NAME, expecting datetime format prog.cob:25:29: error: syntax error, unexpected NAME, expecting datetime format
25 | (invalid-datetime-format, 1, 1) <> SPACES 25 | (invalid-datetime-format, 1, 1) <> SPACES
| ^ | ^
prog.cob:29:12: error: syntax error, unexpected END_IF prog.cob:29:12: error: syntax error, unexpected END-IF
29 | END-IF 29 | END-IF
| ^ | ^
prog.cob:31:40: error: syntax error, unexpected NAME, expecting time format prog.cob:31:40: error: syntax error, unexpected NAME, expecting time format
31 | IF FUNCTION FORMATTED-TIME (invalid-time-format, 1) <> SPACES 31 | IF FUNCTION FORMATTED-TIME (invalid-time-format, 1) <> SPACES
| ^ | ^
prog.cob:35:12: error: syntax error, unexpected END_IF prog.cob:35:12: error: syntax error, unexpected END-IF
35 | END-IF 35 | END-IF
| ^ | ^
prog.cob:38:29: error: syntax error, unexpected NAME, expecting date format or datetime format prog.cob:38:29: error: syntax error, unexpected NAME, expecting date format or datetime format
38 | (invalid-date-format, 1) <> ZERO 38 | (invalid-date-format, 1) <> ZERO
| ^ | ^
prog.cob:42:12: error: syntax error, unexpected END_IF prog.cob:42:12: error: syntax error, unexpected END-IF
42 | END-IF 42 | END-IF
| ^ | ^
prog.cob:45:29: error: syntax error, unexpected NAME, expecting time format or datetime format prog.cob:45:29: error: syntax error, unexpected NAME, expecting time format or datetime format
45 | (invalid-time-format, 1) <> ZERO 45 | (invalid-time-format, 1) <> ZERO
| ^ | ^
prog.cob:49:12: error: syntax error, unexpected END_IF prog.cob:49:12: error: syntax error, unexpected END-IF
49 | END-IF 49 | END-IF
| ^ | ^
prog.cob:52:29: error: syntax error, unexpected NAME, expecting date format or time format or datetime format prog.cob:52:29: error: syntax error, unexpected NAME, expecting date format or time format or datetime format
52 | (invalid-datetime-format, 1) <> ZERO 52 | (invalid-datetime-format, 1) <> ZERO
| ^ | ^
prog.cob:56:12: error: syntax error, unexpected END_IF prog.cob:56:12: error: syntax error, unexpected END-IF
56 | END-IF 56 | END-IF
| ^ | ^
cobol1: error: failed compiling prog.cob cobol1: error: failed compiling prog.cob
......
...@@ -599,7 +599,7 @@ AT_DATA([prog.cob], [ ...@@ -599,7 +599,7 @@ AT_DATA([prog.cob], [
]) ])
AT_CHECK([$COMPILE_ONLY prog.cob], [1], [], AT_CHECK([$COMPILE_ONLY prog.cob], [1], [],
[prog.cob:2:8: error: syntax error, unexpected PIC, expecting IDENTIFICATION DIVISION or PROGRAM_ID [prog.cob:2:8: error: syntax error, unexpected PIC, expecting IDENTIFICATION DIVISION or PROGRAM-ID
2 | PIC(P) 2 | PIC(P)
| ^ | ^
cobol1: error: failed compiling prog.cob cobol1: error: failed compiling prog.cob
......
...@@ -1239,7 +1239,7 @@ prog.cob:16:24: error: DATA-ITEM 'repo-prog' not found ...@@ -1239,7 +1239,7 @@ prog.cob:16:24: error: DATA-ITEM 'repo-prog' not found
16 | MOVE 'C' TO repo-prog. 16 | MOVE 'C' TO repo-prog.
| ^ | ^
prog.cob:16:24: error: invalid receiving operand prog.cob:16:24: error: invalid receiving operand
prog.cob:17:24: error: syntax error, unexpected QUOTES prog.cob:17:24: error: syntax error, unexpected QUOTE
17 | MOVE 'D' TO QUOTE. 17 | MOVE 'D' TO QUOTE.
| ^ | ^
prog.cob:17:24: error: invalid receiving operand prog.cob:17:24: error: invalid receiving operand
......
This diff is collapsed.
...@@ -31,6 +31,7 @@ BEGIN { ...@@ -31,6 +31,7 @@ BEGIN {
gsub( /^THRU/, "THROUGH", $2 ) gsub( /^THRU/, "THROUGH", $2 )
gsub(/_/, "-") gsub(/_/, "-")
upper = $2
name = tolower($2) name = tolower($2)
print "\t{ \"" name "\",", orig, "}, //", $3 print "\t{ \"" name "\",", orig, "}, //", $3
...@@ -49,11 +50,11 @@ BEGIN { ...@@ -49,11 +50,11 @@ BEGIN {
} }
if( name == "zero" ) { if( name == "zero" ) {
print "\t{ \"" name "s\",", orig, "}, //", $3 print "\t{ \"" name "s\",", orig, "}, //", $3
print "\t{ \"" name "eo\",", orig, "}, //", $3 print "\t{ \"" name "es\",", orig, "}, //", $3
} }
tok = $3 - (3 + 255) tok = $3 - (3 + 255)
kw_array[tok] = name kw_array[tok] = upper
} }
END { END {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment