In my attempt to compile the p4 interpreter, I came across the following. The program ################################# program pcode; label 1; begin end. ################################### yields ******************************* test.p: In function `program_Pcode': test.p:2: label `1' used but not defined ******************************* causing a compile time error. Should this not be a warning. that says "Unused label `1'". Also #################################### program pcode (output); label 1; procedure asm; begin 1: end; { asm } begin 1: end. ###################################### Should say "Multiple label `1' instances" but gives ******************************************************** pc: Internal compiler error: program gpc1 got fatal signal 11 ********************************************************* Shafiek Rasdien Internet Solutions Tel: +27 11 283 5500 Fax: +27 11 283 5401
participants (3)
-
Frank Heckenbach -
J. David Bryan -
Shafiek Rasdien