diff options
| author | Miles Bader | 2008-04-18 02:56:45 +0000 |
|---|---|---|
| committer | Miles Bader | 2008-04-18 02:56:45 +0000 |
| commit | d02fe47dd3be7310d1bfd6e802d1fac2ea5f5e9d (patch) | |
| tree | 9ba3090ea2e4c57322ad5104dc910eedffb40ae4 /lisp/progmodes | |
| parent | dc6ee347e3e4fe96397ef913d2ffe4901cc0c1a8 (diff) | |
| parent | bcb96719b37029024876fca1f65eab69d32aa6d8 (diff) | |
| download | emacs-d02fe47dd3be7310d1bfd6e802d1fac2ea5f5e9d.tar.gz emacs-d02fe47dd3be7310d1bfd6e802d1fac2ea5f5e9d.zip | |
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1112
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/cc-langs.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index ed3efc66ec2..f22b75218da 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el | |||
| @@ -728,13 +728,14 @@ definition, or nil if the language doesn't have any." | |||
| 728 | "define")) | 728 | "define")) |
| 729 | 729 | ||
| 730 | (c-lang-defconst c-opt-cpp-macro-define-start | 730 | (c-lang-defconst c-opt-cpp-macro-define-start |
| 731 | ;; Regexp matching everything up to the macro body of a cpp define, | 731 | ;; Regexp matching everything up to the macro body of a cpp define, or the |
| 732 | ;; or the end of the logical line if there is none. Set if | 732 | ;; end of the logical line if there is none. Submatch 1 is the name of the |
| 733 | ;; c-opt-cpp-macro-define is. | 733 | ;; macro. Set if c-opt-cpp-macro-define is. |
| 734 | t (if (c-lang-const c-opt-cpp-macro-define) | 734 | t (if (c-lang-const c-opt-cpp-macro-define) |
| 735 | (concat (c-lang-const c-opt-cpp-prefix) | 735 | (concat (c-lang-const c-opt-cpp-prefix) |
| 736 | (c-lang-const c-opt-cpp-macro-define) | 736 | (c-lang-const c-opt-cpp-macro-define) |
| 737 | "[ \t]+\\(\\sw\\|_\\)+\\(\([^\)]*\)\\)?" | 737 | "[ \t]+\\(\\(\\sw\\|_\\)+\\)\\(\([^\)]*\)\\)?" |
| 738 | ;; ^ ^ #defined name | ||
| 738 | "\\([ \t]\\|\\\\\n\\)*"))) | 739 | "\\([ \t]\\|\\\\\n\\)*"))) |
| 739 | (c-lang-defvar c-opt-cpp-macro-define-start | 740 | (c-lang-defvar c-opt-cpp-macro-define-start |
| 740 | (c-lang-const c-opt-cpp-macro-define-start)) | 741 | (c-lang-const c-opt-cpp-macro-define-start)) |