Commit c5209376 authored by Masatake YAMATO's avatar Masatake YAMATO
Browse files

(gdb-script-font-lock-keywords): Put `font-lock-function-name-face'

on a symbol which includes `-' like `hook-run'. Put
font-lock-variable-name-face  on a symbol starting with $.
parent b1f1ceb8
2003-07-23 Masatake YAMATO <jet@gyve.org>
* progmodes/gud.el (gdb-script-font-lock-keywords):
Put `font-lock-function-name-face' on a symbol which includes
`-' like `hook-run'. Put font-lock-variable-name-face
on a symbol starting with $.
2003-07-27 Markus Rost <rost@math.ohio-state.edu>
 
* files.el (set-visited-file-name): Use truename for buffer-file-name.
......
......@@ -2892,7 +2892,8 @@ class of the file (using s to separate nested class ids)."
st))
(defvar gdb-script-font-lock-keywords
'(("^define\\s-+\\(\\w+\\)" (1 font-lock-function-name-face))
'(("^define\\s-+\\(\\(\\w\\|\\s_\\)+\\)" (1 font-lock-function-name-face))
("\\$\\(\\w+\\)" (1 font-lock-variable-name-face))
("^\\s-*\\([a-z]+\\)" (1 font-lock-keyword-face))))
(defvar gdb-script-font-lock-syntactic-keywords
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment