8031383: Error recovery in JavacParser could be improved
Summary: Improving error recovery in JavacParser by avoiding artificial nextToken in JavacParser.reportSyntaxError.
Reviewed-by: jjg, jfranck
Contributed-by: dusan.balek@oracle.com, jan.lahoda@oracle.com
T4881269.java:32:13: compiler.err.illegal.dot
T4881269.java:33:27: compiler.err.illegal.dot
T4881269.java:33:22: compiler.err.not.stmt
T4881269.java:34:19: compiler.err.illegal.dot
4 errors