return false;
}
RParser parser = new RParser(options, parseState, lexer);
while(!parser.parse()) {
if(lexer.errorEncountered()) {
String errorMessage = "Syntax error at " + lexer.getErrorLocation() + ": " + lexer.getErrorMessage();
reader.getOutput().append(errorMessage + "\n");
if(stopOnError) {
throw new RuntimeException(errorMessage);
}