on a symbol which includes `-' like `hook-run'. Put
font-lock-variable-name-face on a symbol starting with $.
+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.
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