code: protected JCErroneous syntaxError(String key, TokenKind arg) {
          return syntaxError(token.pos, key, arg);
      }
docs: Generate a syntax error at current position unless one was
  already reported at the same position.