]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/cc-langs.el
; Merge from origin/emacs-25
[gnu-emacs] / lisp / progmodes / cc-langs.el
index dd1bccf3d96286a0692f54cf42ee37351cc54df8..7a8213bf6cacce598e4f56d8c7b77e3d1e89e93b 100644 (file)
@@ -619,6 +619,11 @@ This is of the form that fits inside [ ] in a regexp."
   objc (concat c-alnum "_$@"))
 (c-lang-defvar c-symbol-chars (c-lang-const c-symbol-chars))
 
+(c-lang-defconst c-symbol-char-key
+  "Regexp matching a sequence of at least one identifier character."
+  t (concat "[" (c-lang-const c-symbol-chars) "]+"))
+(c-lang-defvar c-symbol-char-key (c-lang-const c-symbol-char-key))
+
 (c-lang-defconst c-symbol-key
   "Regexp matching identifiers and keywords (with submatch 0).  Assumed
 to match if `c-symbol-start' matches on the same position."