Triangle Compiler Bugs *******************Report 1******************************************** Jinhua Wu (1-12-9): 1. In Compiler.java line 61 change if(source==null) to if(source.sourceFile==null) 2. In SourceFile.java change sourceFile file declaration to public Before changing, if you try to compile no existent file, it will have Exception. [This problem was pointed out by Roland Backhouse of Nottingham U.] After changing, it will give you message: file is not accessible. ***********End of Report 1********************************************** *******************Report 2******************************************** Jinhua Wu (1-12-3) 1. In Token.java, it missed ':=' in tokenTable 2. In Scanner.java change sourceFile.eot to SourceFile.eot(line 181, maybe that is not in line 181 in your file) 3. In SourceFile.java change declartion of eol and eot to static ie. static final char eol='/n'; static final char eot='/u0000'; ***********End of Report 2**********************************************