mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 05:17:35 +00:00
(dcl-mode-syntax-table): Add entry for backslash.
This commit is contained in:
parent
99ec172608
commit
d0d3c0c1e4
2 changed files with 7 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue