DU Results - pinta

Source patches

Flex error reports

du2l.lex

Something is missing: ../../../../../SWI098/2017/Kovar_Ondrej_28225607/du2l.lex

C++ error reports

du2l.cpp

Something is missing: ../../../../../SWI098/2017/__tmp2specific/Kovar_Ondrej_28225607/du2l.cpp

Linker error reports

mlc.cpp

Something is missing: ../../../../../SWI098/2017/__tmp2specific/Kovar_Ondrej_28225607/du2l.o ../../../../../SWI098/2017/__tmp2specific/Kovar_Ondrej_28225607/du2.o

Run output diffs

du2-test1

1c1,64
< Something is missing: ../../../../../SWI098/2017/__tmp2specific/Kovar_Ondrej_28225607/mlc
---
> 6: program
> 6: identifier [DU2TEST1]
> 6: ;
> 8: var
> 8: identifier [I]
> 8: ,
> 8: identifier [J]
> 8: :
> 8: identifier [INTEGER]
> 8: ;
> 9: identifier [R]
> 9: :
> 9: identifier [REAL]
> 9: ;
> 10: identifier [S]
> 10: :
> 10: identifier [STRING]
> 10: ;
> 11: begin
> 12: identifier [I]
> 12: :=
> 12: unsigned integer 2
> 12: ;
> 13: identifier [J]
> 13: :=
> 13: identifier [I]
> 13: sign/add oper +
> 13: unsigned integer 2
> 13: ;
> 14: identifier [R]
> 14: :=
> 14: real number 3.14159
> 14: ;
> 15: if
> 15: (
> 15: identifier [J]
> 15: rel oper >
> 15: identifier [I]
> 15: )
> 15: then
> 16: begin
> 17: identifier [C]
> 17: :=
> 17: string [a]
> 17: ;
> 18: identifier [S]
> 18: :=
> 18: string [bubak]
> 18: ;
> 19: end
> 20: else
> 21: begin
> 22: identifier [C]
> 22: :=
> 22: string [']
> 22: ;
> 23: identifier [S]
> 23: :=
> 23: string [Test 'apostrofu']
> 23: ;
> 24: end
> 25: end
> 25: .
> Everything is OK

du2-test2

1c1,50
< Something is missing: ../../../../../SWI098/2017/__tmp2specific/Kovar_Ondrej_28225607/mlc
---
> Error (line 5): Unexpected end of comment
> 7: program
> 7: identifier [DU2TEST2]
> 7: ;
> 8: type
> 8: identifier [POLE]
> 8: =
> 8: array
> 8: [
> 8: unsigned integer 3
> 8: ..
> 8: unsigned integer 4
> 8: ]
> 8: of
> 8: identifier [INTEGER]
> 8: ;
> 9: begin
> 10: identifier [I]
> 10: :=
> Warning (line 10): Integer number '2940387297643256437' is out of range, will be truncated
> 10: unsigned integer 437836405
> 10: ;
> 11: identifier [J]
> 11: :=
> 11: identifier [I]
> 11: sign/add oper +
> Error (line 11): Integer number '2j' is malformed
> 11: unsigned integer 2
> 11: ;
> 12: identifier [R]
> 12: :=
> Error (line 12): Real number '3.14159eb' is malformed
> 12: real number 3.14159
> 12: ;
> 13: identifier [S]
> 13: :=
> Error (line 13): EOL in string
> 13: string [ble, konec radky]
> 14: identifier [C]
> 14: :=
> Error (line 14): EOL in string
> 14: string []
> 15: identifier [C]
> 15: :=
> Error (line 15): EOL in string
> 15: string [c]
> 16: end
> 16: .
> Error (line 18): EOF in comment
> There were some errors 7 and warnings 1

du2-test3

1c1,54
< Something is missing: ../../../../../SWI098/2017/__tmp2specific/Kovar_Ondrej_28225607/mlc
---
> Error (line 5): Unexpected end of comment
> 7: program
> 7: identifier [DU2TEST3]
> 7: ;
> 8: type
> 8: identifier [STRUKTURA]
> 8: =
> 9: record
> 10: identifier [I]
> 10: :
> 10: identifier [INTEGER]
> 10: ;
> 11: identifier [J]
> 11: ,
> 11: identifier [K]
> 11: :
> 11: identifier [REAL]
> 11: ;
> 12: end
> 12: ;
> 14: begin
> 15: identifier [I]
> 15: :=
> Warning (line 15): Integer number '2940387297643256437' is out of range, will be truncated
> 15: unsigned integer 437836405
> 15: ;
> 16: identifier [J]
> 16: :=
> 16: identifier [I]
> 16: sign/add oper +
> Error (line 16): Integer number '2j' is malformed
> 16: unsigned integer 2
> 16: ;
> 17: identifier [R]
> 17: :=
> Error (line 17): Real number '3.14159eb' is malformed
> 17: real number 3.14159
> 17: ;
> 18: identifier [S]
> 18: :=
> Error (line 18): EOL in string
> 18: string [ble, konec radky]
> 19: identifier [C]
> 19: :=
> Error (line 19): EOL in string
> 19: string []
> 20: identifier [C]
> 20: :=
> Error (line 20): EOL in string
> 20: string [c]
> 21: end
> 21: .
> Error (line 23): EOF in comment
> There were some errors 7 and warnings 1