489
489
d->input += QLatin1Char('\n');
490
490
QScriptSyntaxCheckResult check = QScriptEngine::checkSyntax(d->input);
491
491
if (check.state() == QScriptSyntaxCheckResult::Intermediate)
493
493
d->input.chop(1); // remove the last \n
495
495
cmd.append(d->commandPrefix);