# HG changeset patch # User Karl Heuer # Date 824938103 0 # Node ID 25ecb6e5fffca744f6382259016e3a3397900b7d # Parent 584eb99710a6af9fc995d8011f11ea1a0af642cb (c++-mode-syntax-table): Don't use c-mode-syntax-table. diff -r 584eb99710a6 -r 25ecb6e5fffc lisp/progmodes/cplus-md.el --- 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)