diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-08-22 00:06:49 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-08-22 00:06:49 +0200 |
commit | 5cf69aa5d7cab0079acec7b5ad7b70b96d01e801 (patch) | |
tree | 8351311d6f45db540a6bf57e05a3a42e771a851e /qtmips_gui | |
parent | 2b637518403bfbec4a6823dccc09a9301751302e (diff) | |
download | qtmips-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.cpp | 3 |
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) { |