- Page 9 Line 14
java microgclcompiler.MicroGCLCompiler
- Page 9 Line 17
java microgclcompiler.MicroGCLCompiler test0.gcl test0.lst
- Page 15 Line 135 (Java version only)
out.println();
out.println(" %" + lineBuffer);
- Page 23 Line 679 Change $ to %. (Java version only.)
listingFile.println(" % End of Compilation");
- Page 86 Line 41-42 (Java version only)
files.listingFile.println( "Invalid option "+ args[i].charAt(j)+ ":");
files.listingFile.println();
- Page 89 Line 43-63 (Java version only)
{ case 1:
out.println("The nonterminal on top of the parsestack does" +
"not have a production compatible with the input token" );
out.println("stacktop: " + termsAndNonTerms[pstack[pstacktop]] +
" input: " + termsAndNonTerms[token.number]);
break;
case 2:
out.println("The terminal on top of the parsestack does not match the input token" );
out.println("stacktop: " + termsAndNonTerms[pstack[pstacktop]] + " input: " +
termsAndNonTerms[token.number]);
break;
case 3:
out.println("The end-of-file token was expected." );
break;
case 4:
out.println("The grammar file is too large. Modify compiler constants.") ;
break;
}
- Page 92 Line 251 (Java version only)
out.println();
out.print( "S." );
- Page 92 Line 255 (Java version only)
{ out.println();
out.print( "S-.") ;
- Page 92 Line 268 (Java version only)
out.println();
- Page 93 Line 278-281 (Java version only)
if ( production != 0 )
out.println( " (# "+ production + ")");
else
out.println( " none ");
- Page 94 Line 59 (Java version only)
{ out.println( " ... error at this character, skipping to next token");
- Page 94 Line 64 (Java version only)
out.println( " ... error at this Token.");
- Page 96 Line 200 (Java version only)
out.println();
- Page 97 Line 209-211 (Java version only)
while ( ((((current>='a')&&(current<='z'))
|| ((current>='A')&&(current<='Z'))
|| ((current>='0')&&(current<='9'))
|| (current == '_')) && (idlgth < currentBufferLength)) )
- Page 97 Line 221 (Java version only)
out.println( "' is more than 32 characters long.");
- Page 104 Line 253: "codefile" NOT "codeflie"
- Page 107 Line 477 (Java version only)
{ codefile.println(opcodes[opcode]);
- Page 113 Line 46 (Java version only)
out.println();
- Page 116 Line 34-67 (Java version only)
{ case integerRequired:
out.println( "ERROR -> Integer type required.");
break;
case alreadyDefined:
out.println( "ERROR -> The item is already defined.");
break;
case nameNotDefined:
out.println( "ERROR -> The name is not defined.");
break;
case typeRequired:
out.println( "ERROR -> TypeReference name required.");
break;
case listsMustMatch:
out.println( "ERROR -> List lengths must be the same.");
break;
case illegaltuple:
out.println( "ERROR -> The tuple component is illegal.");
break;
case notVariable:
out.println( "ERROR -> The Left Hand Side is not a variable access.");
break;
case expressionRequired:
out.println( "ERROR -> Expression required.");
break;
case constantRequired:
out.println( "ERROR -> Constant expression required.");
break;
case unknownEntry:
out.println( "COMPILR ERROR -> An unknown entry was found.");
break;
case noSuchAction:
out.println( "COMPILER ERROR -> There is no such semantic action.");
break;
default:
out.println("COMPILER ERROR-> Message Not Understood.");
break;
}
out.println();