aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-08-20 16:56:01 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-08-20 16:56:01 +0200
commit7a684802ddfb9a21a9693ba62029349ab43ce1f1 (patch)
tree06470fb1f6552f16bad1fae6a4aa143608c2175c /qtmips_gui
parentc9c26ded68678e26efd316a8f48dd8975dea3048 (diff)
downloadqtmips-7a684802ddfb9a21a9693ba62029349ab43ce1f1.tar.gz
qtmips-7a684802ddfb9a21a9693ba62029349ab43ce1f1.tar.bz2
qtmips-7a684802ddfb9a21a9693ba62029349ab43ce1f1.zip
Implemented ASCII and ASCIZ operations.
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 b996e20..8ab8abe 100644
--- a/qtmips_gui/highlighterasm.cpp
+++ b/qtmips_gui/highlighterasm.cpp
@@ -50,7 +50,8 @@ HighlighterAsm::HighlighterAsm(QTextDocument *parent)
QStringLiteral("\\.text\\b"), QStringLiteral("\\.data\\b"),
QStringLiteral("\\.globl\\b"), QStringLiteral("\\.set\\b"),
QStringLiteral("\\.equ\\b"), QStringLiteral("\\.end\\b"),
- QStringLiteral("\\.ent\\b")
+ QStringLiteral("\\.ent\\b"), QStringLiteral("\\.ascii\\b"),
+ QStringLiteral("\\.asciz\\b")
};
for (const QString &pattern : keywordPatterns) {