Mercurial > emacs
changeset 14631:25ecb6e5fffc
(c++-mode-syntax-table): Don't use c-mode-syntax-table.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 21 Feb 1996 21:28:23 +0000 |
parents | 584eb99710a6 |
children | f50f87fae914 |
files | lisp/progmodes/cplus-md.el |
diffstat | 1 files changed, 13 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/cplus-md.el Wed Feb 21 21:28:05 1996 +0000 +++ b/lisp/progmodes/cplus-md.el Wed Feb 21 21:28:23 1996 +0000 @@ -125,7 +125,19 @@ (if c++-mode-syntax-table () - (setq c++-mode-syntax-table (copy-syntax-table c-mode-syntax-table)) + (setq c++-mode-syntax-table (make-syntax-table)) + (modify-syntax-entry ?\\ "\\" c++-mode-syntax-table) + (modify-syntax-entry ?/ ". 14" c++-mode-syntax-table) + (modify-syntax-entry ?* ". 23" c++-mode-syntax-table) + (modify-syntax-entry ?+ "." c++-mode-syntax-table) + (modify-syntax-entry ?- "." c++-mode-syntax-table) + (modify-syntax-entry ?= "." c++-mode-syntax-table) + (modify-syntax-entry ?% "." c++-mode-syntax-table) + (modify-syntax-entry ?< "." c++-mode-syntax-table) + (modify-syntax-entry ?> "." c++-mode-syntax-table) + (modify-syntax-entry ?& "." c++-mode-syntax-table) + (modify-syntax-entry ?| "." c++-mode-syntax-table) + (modify-syntax-entry ?\' "\"" c++-mode-syntax-table) (modify-syntax-entry ?* ". 23b" c++-mode-syntax-table) (modify-syntax-entry ?/ ". 124" c++-mode-syntax-table) (modify-syntax-entry ?\n ">" c++-mode-syntax-table)