From 2058b403488bdf4fe5301032fbec42ccb5fe9847 Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Mon, 5 Sep 2005 02:07:43 +0000 Subject: [PATCH] * assembler.syntax: Assembler files may contain comments, too. --- syntax/ChangeLog | 4 ++++ syntax/assembler.syntax | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/syntax/ChangeLog b/syntax/ChangeLog index 0e2159d76..ba4e7827d 100644 --- a/syntax/ChangeLog +++ b/syntax/ChangeLog @@ -1,3 +1,7 @@ +2005-09-05 Roland Illig + + * assembler.syntax: Assembler files may contain comments, too. + 2005-08-21 Roland Illig * lisp.syntax: Recognize the character sequences \" and \\ in diff --git a/syntax/assembler.syntax b/syntax/assembler.syntax index 1608e4a27..ce71e76f7 100644 --- a/syntax/assembler.syntax +++ b/syntax/assembler.syntax @@ -304,6 +304,9 @@ context default lightgray # Common symbols keyword ; brown + keyword ! brown + keyword /\* brown + keyword \*/ brown keyword [ white keyword ] white keyword , white @@ -333,3 +336,9 @@ context " " green context ' ' brightgreen context exclusive ; \n brown spellcheck + +context exclusive /\* \*/ brown + spellcheck + +context exclusive ! \n brown + spellcheck