summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mainwin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mainwin.cc b/mainwin.cc
index c6f2f1f..1c05684 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -411,7 +411,7 @@ void MainWindow::compile(bool procevents)
root_ctx.set_variable("$vpr", vpr);
last_compiled_doc = editor->toPlainText();
- root_module = parse((last_compiled_doc + commandline_commands).toAscii().data(), false);
+ root_module = parse((last_compiled_doc + "\n" + commandline_commands).toAscii().data(), false);
delete highlighter;
highlighter = new Highlighter(editor->document());
contact: Jan Huwald // Impressum