-/* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 2.1 */
+/* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 3.0 */
package test;
public class TokenMgrError extends Error
* curchar : the offending character
* Note: You can customize the lexical error message by modifying this method.
*/
- private static final String LexicalError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, char curChar) {
+ protected static String LexicalError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, char curChar) {
return("Lexical error at line " +
errorLine + ", column " +
errorColumn + ". Encountered: " +