-/* 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
* curLexState : lexical state in which this error occured
* errorLine : line number when the error occured
* errorColumn : column number when the error occured
- * errorAfter : prefix that was seen before this error occured
+ * errorAfter : functionName that was seen before this error occured
* 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: " +