1565156615671568156915701571157215731574
syntaxProblem = unexpectedTokenProblem(current, expectedKind); } else { final ASToken errorToken = current.getType() == EOF ? buffer.previous() : current; syntaxProblem = new SyntaxProblem(errorToken); } addProblem(syntaxProblem); }
1688168916901691169216931694
* * @param badToken the token that caused the syntax error */ protected final void logSyntaxError(ASToken badToken) { addProblem(new SyntaxProblem(badToken)); }
2414241524162417241824192420
* * @param token Offending token. */ protected final void reportUnexpectedTokenProblem(final ASToken token) { addProblem(new SyntaxProblem(token)); }
2580258125822583258425852586258725882589
final ICompilerProblem problem = new NestedPackageProblem(keywordPackage); addProblem(problem); } else if (!isGlobalContext()) { final ICompilerProblem problem = new SyntaxProblem(keywordPackage); addProblem(problem); } packageDepth++; }
28772878287928802881288228832884
return; } } else { addProblem(new SyntaxProblem(token)); } }