aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui')
-rw-r--r--qtmips_gui/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qtmips_gui/mainwindow.cpp b/qtmips_gui/mainwindow.cpp
index 766a28c..685a84a 100644
--- a/qtmips_gui/mainwindow.cpp
+++ b/qtmips_gui/mainwindow.cpp
@@ -640,6 +640,9 @@ void MainWindow::compile_source() {
if (line.isEmpty())
continue;
QString op = line.split(" ").at(0).toUpper();
+ if ((op == ".DATA") || (op == ".CODE")) {
+ continue;
+ }
if (op == ".ORG") {
bool ok;
fixmatheval::FmeExpression expression;