aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-08-22 00:06:49 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-08-22 00:06:49 +0200
commit5cf69aa5d7cab0079acec7b5ad7b70b96d01e801 (patch)
tree8351311d6f45db540a6bf57e05a3a42e771a851e /qtmips_gui
parent2b637518403bfbec4a6823dccc09a9301751302e (diff)
downloadqtmips-5cf69aa5d7cab0079acec7b5ad7b70b96d01e801.tar.gz
qtmips-5cf69aa5d7cab0079acec7b5ad7b70b96d01e801.tar.bz2
qtmips-5cf69aa5d7cab0079acec7b5ad7b70b96d01e801.zip
Implemented SKIP/SPACE assembler directives.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui')
-rw-r--r--qtmips_gui/highlighterasm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_gui/highlighterasm.cpp b/qtmips_gui/highlighterasm.cpp
index c9d16d2..e154b1f 100644
--- a/qtmips_gui/highlighterasm.cpp
+++ b/qtmips_gui/highlighterasm.cpp
@@ -51,7 +51,8 @@ HighlighterAsm::HighlighterAsm(QTextDocument *parent)
QStringLiteral("\\.globl\\b"), QStringLiteral("\\.set\\b"),
QStringLiteral("\\.equ\\b"), QStringLiteral("\\.end\\b"),
QStringLiteral("\\.ent\\b"), QStringLiteral("\\.ascii\\b"),
- QStringLiteral("\\.asciz\\b"), QStringLiteral("\\.byte\\b")
+ QStringLiteral("\\.asciz\\b"), QStringLiteral("\\.byte\\b"),
+ QStringLiteral("\\.skip\\b"), QStringLiteral("\\.space\\b")
};
for (const QString &pattern : keywordPatterns) {