aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Stjernholm2003-07-16 20:54:19 +0000
committerMartin Stjernholm2003-07-16 20:54:19 +0000
commitf75ef66d4a6373cca39712ae36b9b2bd5d9d8d31 (patch)
tree2f2f33d64c732d844b4edefe9b4e5c8cc35f2514
parentc6f54b061f02803642395a8f7dbdf3d066b6ed08 (diff)
downloademacs-f75ef66d4a6373cca39712ae36b9b2bd5d9d8d31.tar.gz
emacs-f75ef66d4a6373cca39712ae36b9b2bd5d9d8d31.zip
(c++-make-template-syntax-table, c-syntactic-ws-start, c-syntactic-ws-end):
Gave more consistent names to these language constants.
-rw-r--r--lisp/progmodes/cc-langs.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index 6bf2cc71ed2..0a55be956bb 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -268,7 +268,7 @@ The syntax tables aren't stored directly since they're quite large."
268 ;; the constants in this file are evaluated. 268 ;; the constants in this file are evaluated.
269 t (funcall (c-lang-const c-make-mode-syntax-table))) 269 t (funcall (c-lang-const c-make-mode-syntax-table)))
270 270
271(c-lang-defconst make-c++-template-syntax-table 271(c-lang-defconst c++-make-template-syntax-table
272 ;; A variant of `c++-mode-syntax-table' that defines `<' and `>' as 272 ;; A variant of `c++-mode-syntax-table' that defines `<' and `>' as
273 ;; parenthesis characters. Used temporarily when template argument 273 ;; parenthesis characters. Used temporarily when template argument
274 ;; lists are parsed. Note that this encourages incorrect parsing of 274 ;; lists are parsed. Note that this encourages incorrect parsing of
@@ -282,8 +282,8 @@ The syntax tables aren't stored directly since they're quite large."
282 (modify-syntax-entry ?> ")<" table) 282 (modify-syntax-entry ?> ")<" table)
283 table))) 283 table)))
284(c-lang-defvar c++-template-syntax-table 284(c-lang-defvar c++-template-syntax-table
285 (and (c-lang-const make-c++-template-syntax-table) 285 (and (c-lang-const c++-make-template-syntax-table)
286 (funcall (c-lang-const make-c++-template-syntax-table)))) 286 (funcall (c-lang-const c++-make-template-syntax-table))))
287 287
288(c-lang-defconst c-identifier-syntax-modifications 288(c-lang-defconst c-identifier-syntax-modifications
289 "A list that describes the modifications that should be done to the 289 "A list that describes the modifications that should be done to the
@@ -882,19 +882,19 @@ operators."
882(c-lang-defvar comment-start-skip (c-lang-const comment-start-skip) 882(c-lang-defvar comment-start-skip (c-lang-const comment-start-skip)
883 'dont-doc) 883 'dont-doc)
884 884
885(c-lang-defconst syntactic-ws-start 885(c-lang-defconst c-syntactic-ws-start
886 "Regexp matching any sequence that can start syntactic whitespace. 886 "Regexp matching any sequence that can start syntactic whitespace.
887The only uncertain case is '#' when there are cpp directives." 887The only uncertain case is '#' when there are cpp directives."
888 t "[ \n\t\r\v\f#]\\|/[/*]\\|\\\\[\n\r]" 888 t "[ \n\t\r\v\f#]\\|/[/*]\\|\\\\[\n\r]"
889 awk "[ \n\t\r\v\f#]\\|\\\\[\n\r]") 889 awk "[ \n\t\r\v\f#]\\|\\\\[\n\r]")
890(c-lang-defvar c-syntactic-ws-start (c-lang-const syntactic-ws-start) 890(c-lang-defvar c-syntactic-ws-start (c-lang-const c-syntactic-ws-start)
891 'dont-doc) 891 'dont-doc)
892 892
893(c-lang-defconst syntactic-ws-end 893(c-lang-defconst c-syntactic-ws-end
894 "Regexp matching any single character that might end syntactic whitespace." 894 "Regexp matching any single character that might end syntactic whitespace."
895 t "[ \n\t\r\v\f/]" 895 t "[ \n\t\r\v\f/]"
896 awk "[ \n\t\r\v\f]") 896 awk "[ \n\t\r\v\f]")
897(c-lang-defvar c-syntactic-ws-end (c-lang-const syntactic-ws-end) 897(c-lang-defvar c-syntactic-ws-end (c-lang-const c-syntactic-ws-end)
898 'dont-doc) 898 'dont-doc)
899 899
900(c-lang-defconst c-nonwhite-syntactic-ws 900(c-lang-defconst c-nonwhite-syntactic-ws