(dcl-mode-syntax-table): Add entry for backslash.

This commit is contained in:
Thien-Thi Nguyen 2005-03-12 16:51:47 +00:00
parent 99ec172608
commit d0d3c0c1e4
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-03-12 Thien-Thi Nguyen <ttn@gnu.org>
* progmodes/dcl-mode.el (dcl-mode-syntax-table):
Add entry for backslash.
2005-03-12 Thien-Thi Nguyen <ttn@gnu.org>
* progmodes/dcl-mode.el (dcl-font-lock-keywords): New var.

View file

@ -285,13 +285,13 @@ See `imenu-generic-expression' for details."
(defvar dcl-mode-syntax-table nil
"Syntax table used in DCL-buffers.")
(if dcl-mode-syntax-table
()
(unless dcl-mode-syntax-table
(setq dcl-mode-syntax-table (make-syntax-table))
(modify-syntax-entry ?! "<" dcl-mode-syntax-table) ; comment start
(modify-syntax-entry ?\n ">" dcl-mode-syntax-table) ; comment end
(modify-syntax-entry ?< "(>" dcl-mode-syntax-table) ; < and ...
(modify-syntax-entry ?> ")<" dcl-mode-syntax-table) ; > is a matching pair
(modify-syntax-entry ?\\ "_" dcl-mode-syntax-table) ; not an escape
)