Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
33f54425
Commit
33f54425
authored
Dec 09, 1994
by
Karl Heuer
Browse files
Add patterns for asm-mode.
parent
6054fcc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
lisp/hilit19.el
lisp/hilit19.el
+14
-0
No files found.
lisp/hilit19.el
View file @
33f54425
...
...
@@ -1471,6 +1471,20 @@ number of backslashes."
'
((
"[A-Z][a-z]+ [0-9]+"
nil
define
)
; month and year
(
"S M Tu W Th F S"
nil
label
)))
; week days
(
hilit-set-mode-patterns
'asm-mode
'
((
"/\\*"
"\\*/"
comment
)
(
"^#[ \t]*\\(undef\\|define\\).*$"
"[^\\]$"
define
)
(
"^#.*$"
nil
include
)
;; labels
(
"^.+:"
nil
defun
)
;; assembler directives
(
"^[ \t]*\\..*$"
nil
decl
)
;; register names
(
"\\$[a-z0-9]+"
nil
string
)
;; mnemonics
(
"^[ \t]*[a-z]+"
nil
struct
)))
(
hilit-set-mode-patterns
'pascal-mode
'
((
"(\\*"
"\\*)"
comment
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment