sb.append(line).append('\n');
if (line.endsWith(";")) {
String blockToParse = sb.toString();
ANTLRStringStream input = new ANTLRStringStream(blockToParse);
DebuggingErrorReporter reporter = new DebuggingErrorReporter(linesRead, blockToParse);
MySQLLexer lexer = new MySQLLexer(input);
lexer.setErrorReporter(reporter);
CommonTokenStream tokens = new CommonTokenStream(lexer);
MySQLParser parser = new MySQLParser(tokens);
parser.ignoreDBName(ignoreDBCommands);
parser.setErrorReporter(reporter);