aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexAsm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexAsm.cxx')
-rw-r--r--src/LexAsm.cxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/LexAsm.cxx b/src/LexAsm.cxx
index 0fc6f27ad..1eecf9b31 100644
--- a/src/LexAsm.cxx
+++ b/src/LexAsm.cxx
@@ -129,5 +129,14 @@ static void ColouriseAsmDoc(unsigned int startPos, int length, int initStyle, Wo
sc.Complete();
}
-LexerModule lmAsm(SCLEX_ASM, ColouriseAsmDoc, "asm");
+static const char * const asmWordListDesc[] = {
+ "CPU instructions",
+ "FPU instructions",
+ "Registers",
+ "Directives",
+ "Directive operands",
+ 0
+};
+
+LexerModule lmAsm(SCLEX_ASM, ColouriseAsmDoc, "asm", 0, asmWordListDesc);