Since about 5 years I try to compile lex for extended pascal with gpc. However, I still don't succeed. This program is a real test case I assume :-)
Here the latest error, boiled down to the most minimal code:
------------------------ program Test;
type string255=string(255);
function Test(filename, ext : String): string255; label 1,2; begin Test := ''; goto 1; goto 2; 2: Test := filename+'.'; 1: ; end;
begin end. ------------------------
Groetjes,
Berend.