Changeset 4079 for trunk/lisp/font-lock.el
- Timestamp:
- 05/13/06 11:31:18 (3 years ago)
- Files:
-
- trunk/lisp/font-lock.el (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/font-lock.el
r4058 r4079 1975 1975 ;; (regexp-opt 1976 1976 ;; '("define" "elif" "else" "endif" "error" "file" "if" "ifdef" 1977 ;; "ifndef" "i nclude" "line" "pragma" "undef"))1977 ;; "ifndef" "import" "include" "line" "pragma" "undef" "warning")) 1978 1978 ;; 1979 1979 (defconst cpp-font-lock-keywords-source-directives 1980 "define\\|e\\(?:l\\(?:if\\|se\\)\\|ndif\\|rror\\)\\|file\\|i\\(?:f\\(?:n?def\\)?\\| nclude\\)\\|line\\|pragma\\|undef"1980 "define\\|e\\(?:l\\(?:if\\|se\\)\\|ndif\\|rror\\)\\|file\\|i\\(?:f\\(?:n?def\\)?\\|mport\\|nclude\\)\\|line\\|pragma\\|undef\\|warning" 1981 1981 "Regular expressoin used in `cpp-font-lock-keywords'.") 1982 1982 … … 1985 1985 ;; (regexp-opt-depth (regexp-opt 1986 1986 ;; '("define" "elif" "else" "endif" "error" "file" "if" "ifdef" 1987 ;; "ifndef" "i nclude" "line" "pragma" "undef")))1987 ;; "ifndef" "import" "include" "line" "pragma" "undef" "warning"))) 1988 1988 ;; 1989 1989 (defconst cpp-font-lock-keywords-source-depth 0 … … 1997 1997 ;; 1998 1998 ;; Fontify error directives. 1999 '("^#[ \t]* error[ \t]+\\(.+\\)" 1 font-lock-warning-face prepend)1999 '("^#[ \t]*\\(?:error\\|warning\\)[ \t]+\\(.+\\)" 1 font-lock-warning-face prepend) 2000 2000 ;; 2001 2001 ;; Fontify filenames in #include <...> preprocessor directives as strings.
