• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/emacs-93/emacs/lisp/progmodes/

Lines Matching defs:cpp

233   (when c-opt-cpp-prefix
242 (looking-at c-opt-cpp-start))
251 done that the point is inside a cpp directive to begin with.
262 (defun c-forward-over-cpp-define-id ()
265 ;; "#define"d (or whatever c-opt-cpp-macro-define specifies). Non-nil
270 (when (and c-opt-cpp-macro-define-id
271 (looking-at c-opt-cpp-macro-define-id))
274 (defun c-forward-to-cpp-define-body ()
277 ;; if it's a "#define" (or whatever c-opt-cpp-macro-define
282 (when (and c-opt-cpp-macro-define-start
283 (looking-at c-opt-cpp-macro-define-start)
757 (looking-at c-opt-cpp-start)
761 (if (and (c-forward-to-cpp-define-body)
1335 ;; cpp directive. Thus, from one point with `c-is-sws' it's safe
1349 ;; or cpp directive and must not be considered part of the "rung".
1351 ;; by a newline. In the case of cpp directives it could also be
1382 ;; cpp directives. For small comments inside code it's probably
1497 ;; after "foo" is removed then "bar" will become part of the cpp
1538 ;; inside a line comment or cpp directive we must set `rung-pos' as
1597 (and c-opt-cpp-prefix
1598 (looking-at c-opt-cpp-start)
1670 ;; cpp directive now.
1793 ((and c-opt-cpp-prefix
1796 ;; Inside a cpp directive. See if it should be skipped over.
1797 (let ((cpp-beg (point)))
1801 ;; started inside the cpp directive.
1810 ;; Don't move past the cpp directive if we began inside
1832 (goto-char cpp-beg)
1841 ;; comment or cpp directive that's been partially
2693 ;; If we're looking at a '#' that might start a cpp
2696 (not c-opt-cpp-prefix)
2782 i.e. the end of comments or cpp directives. This since the function
2787 Bug: Unbalanced parens inside cpp directives are currently not handled
3252 (defun c-slow-in-literal (&optional lim detect-cpp)
3278 ((and detect-cpp (c-beginning-of-macro lim)) 'pound)
3288 ;; cpp directives.
3310 (defun c-fast-in-literal (&optional lim detect-cpp)
3317 ((and detect-cpp (save-excursion (c-beginning-of-macro lim))) 'pound))))
6059 ;; A label can't start at a cpp directive. Check for
6061 (unless (and c-opt-cpp-prefix (looking-at c-opt-cpp-prefix))
6880 ;; N.B.: This algorithm can potentially get confused by cpp macros
7706 ;; CASE 3: in a cpp preprocessor macro continuation.
7712 (setq tmpsymbol 'cpp-macro-cont)
7717 ;; directive then analyze as cpp-define-intro
7720 ;; cpp expression, i.e. before the #define body
7722 (if (c-forward-to-cpp-define-body)
7725 tmpsymbol 'cpp-define-intro)
8403 (c-add-syntax 'cpp-define-intro)
8972 (c-append-syntax 'cpp-macro)
8982 ;; If inside a cpp expression, i.e. anywhere in a
8983 ;; cpp directive except a #define body, we only let
8986 ;; elements, if they are anchored inside the cpp
8989 (c-add-syntax 'cpp-macro-cont macro-start))
8991 (not (assq 'cpp-define-intro c-syntactic-context))
8994 (or (not (c-forward-to-cpp-define-body))
8998 ;; we add cpp-define-intro to get the extra
9000 (c-add-syntax 'cpp-define-intro)))))