From 5cf69aa5d7cab0079acec7b5ad7b70b96d01e801 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Thu, 22 Aug 2019 00:06:49 +0200 Subject: Implemented SKIP/SPACE assembler directives. Signed-off-by: Pavel Pisa --- qtmips_gui/highlighterasm.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qtmips_gui') 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) { -- cgit v1.2.3