jfinal enjoy 3.5
This commit is contained in:
@@ -90,7 +90,7 @@ public class Parser {
|
||||
tokenList.add(EOF);
|
||||
StatList statList = statList();
|
||||
if (peek() != EOF) {
|
||||
throw new ParseException("Syntax error: can not match " + peek().value(), getLocation(peek().row));
|
||||
throw new ParseException("Syntax error: can not match \"#" + peek().value() + "\"", getLocation(peek().row));
|
||||
}
|
||||
return statList;
|
||||
}
|
||||
|
Reference in New Issue
Block a user