comparison lisp/progmodes/cc-fonts.el @ 90180:62afea0771d8

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-51 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 289-301) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 68) - Update from CVS
author Miles Bader <miles@gnu.org>
date Thu, 12 May 2005 03:41:19 +0000
parents 02f1dbc4a199 bd033c2d7fd4
children f042e7c0fe20
comparison
equal deleted inserted replaced
90179:b745036dab36 90180:62afea0771d8
493 "\\(" 493 "\\("
494 (c-lang-const c-opt-cpp-prefix) 494 (c-lang-const c-opt-cpp-prefix)
495 "[" (c-lang-const c-symbol-chars) "]+" 495 "[" (c-lang-const c-symbol-chars) "]+"
496 "\\)") 496 "\\)")
497 `(,(1+ ncle-depth) c-preprocessor-face-name t))) 497 `(,(1+ ncle-depth) c-preprocessor-face-name t)))
498
499 ;; fontify the n in ifndef
500 (,(concat noncontinued-line-end
501 (c-lang-const c-opt-cpp-prefix)
502 "if\\(n\\)def\\>")
503 ,(+ ncle-depth 1) font-lock-negation-char-face prepend)
498 ))) 504 )))
499 505
500 ,@(when (c-major-mode-is 'pike-mode) 506 ,@(when (c-major-mode-is 'pike-mode)
501 `((eval . (list "\\`#![^\n\r]*" 507 `((eval . (list "\\`#![^\n\r]*"
502 0 c-preprocessor-face-name)))) 508 0 c-preprocessor-face-name))))
664 (boundp 'parse-sexp-lookup-properties)))) 670 (boundp 'parse-sexp-lookup-properties))))
665 (save-restriction 671 (save-restriction
666 (narrow-to-region (point-min) limit) 672 (narrow-to-region (point-min) limit)
667 (c-font-lock-objc-iip-decl))) 673 (c-font-lock-objc-iip-decl)))
668 nil)))))) 674 nil))))))
675
676 ("!" . font-lock-negation-char-face)
669 )) 677 ))
670 678
671 (defun c-font-lock-complex-decl-prepare (limit) 679 (defun c-font-lock-complex-decl-prepare (limit)
672 ;; Called before any of the matchers in `c-complex-decl-matchers'. 680 ;; Called before any of the matchers in `c-complex-decl-matchers'.
673 ;; Nil is always returned. 681 ;; Nil is always returned.