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

Lines Matching +defs:make +defs:syntax +defs:table

63 (cc-bytecomp-defvar lookup-syntax-properties) ; XEmacs
64 (cc-bytecomp-defun string-to-syntax) ; Emacs 21
79 ; to make the call to f-l-c-k throw an error.
115 (make-variable-buffer-local 'c-buffer-is-cc-mode)
117 ;; Have to make `c-buffer-is-cc-mode' permanently local so that it
410 `syntax-table' are considered insignificant. This macro allows text
826 (defmacro c-with-syntax-table (table &rest code)
827 ;; Temporarily switches to the specified syntax table in a failsafe
829 `(let ((c-with-syntax-table-orig-table (syntax-table)))
832 (set-syntax-table ,table)
834 (set-syntax-table c-with-syntax-table-orig-table))))
835 (put 'c-with-syntax-table 'lisp-indent-function 1)
844 ;; skip-syntax-* doesn't count \n as whitespace..
865 ;; skip-syntax-* doesn't count \n as whitespace..
913 (cc-bytecomp-fboundp 'make-extent)
919 ;; make it a function.
929 (set-extent-properties (make-extent pos (1+ pos))
949 ;; POS and make it front and rear nonsticky, or start and end open
981 ;; `c-clear-char-property' is complex enough in Emacs < 21 to make it
1026 ;; `syntax-table'.
1049 (if (cc-bytecomp-fboundp 'make-overlay)
1051 `(let ((ol (make-overlay ,from ,to)))
1055 `(let ((ext (make-extent ,from ,to)))
1062 (if (cc-bytecomp-fboundp 'make-overlay)
1087 (def-edebug-spec c-add-syntax t)
1088 (def-edebug-spec c-add-class-syntax t)
1090 (def-edebug-spec c-with-syntax-table t)
1123 (defconst c-<-as-paren-syntax '(4 . ?>))
1127 ;; syntax-table property.
1130 (c-put-char-property pos 'syntax-table c-<-as-paren-syntax))
1132 (defconst c->-as-paren-syntax '(5 . ?<))
1136 ;; syntax-table property.
1139 (c-put-char-property pos 'syntax-table c->-as-paren-syntax))
1254 (defun c-make-keywords-re (adorn list &optional mode)
1262 language variable `c-nonsymbol-key' is used to make the adornment.
1357 (put 'c-make-keywords-re 'lisp-indent-function 1)
1359 (defun c-make-bare-char-alt (chars &optional inverted)
1401 ;; XEmacs uses 8-bit modify-syntax-entry flags.
1403 ;; syntax tables differently to handle this.
1404 (let ((table (copy-syntax-table))
1406 (modify-syntax-entry ?a ". 12345678" table)
1409 ((arrayp table)
1410 (setq entry (aref table ?a))
1411 ;; In Emacs, table entries are cons cells
1414 ((fboundp 'get-char-table)
1415 (setq entry (get-char-table ?a table)))
1426 lookup-syntax-properties)
1429 (set-syntax-table (make-syntax-table))
1436 lookup-syntax-properties t)
1438 ;; Find out if the `syntax-table' text property works.
1439 (modify-syntax-entry ?< ".")
1440 (modify-syntax-entry ?> ".")
1447 (setq list (cons 'syntax-properties list))
1450 "support for the `syntax-table' text property "
1455 (modify-syntax-entry ?x "!")
1461 (modify-syntax-entry ?x "|")
1484 (set-syntax-table (make-syntax-table))
1485 (modify-syntax-entry ?\' "\"")
1490 (modify-syntax-entry ?/ ". 1456")
1491 (modify-syntax-entry ?* ". 23"))
1494 (modify-syntax-entry ?/ ". 124b")
1495 (modify-syntax-entry ?* ". 23")))
1496 (modify-syntax-entry ?\n "> b")
1520 '8-bit 8 bit syntax entry flags (XEmacs style).
1521 '1-bit 1 bit syntax entry flags (Emacs style).
1522 'syntax-properties It works to override the syntax for specific characters
1523 in the buffer with the 'syntax-table property. It's
1527 (i.e. the syntax class `!').
1529 (i.e. the syntax class `|').
1585 ;; There are however safeguards to make sure that they can be loaded
1606 The exact effect of BASE-MODE is to make all language constants that
1617 (defvar c-lang-constants (make-vector 151 0))
1727 ;; Rework ARGS to an association list to make it easier to handle.
1728 ;; It's reversed at the same time to make it easier to implement
1755 ;; forms, to be specific), so make sure the bindings in the
1767 ;; definitions for this symbol, to make sure the order in the
1815 (visited (make-vector 101 0))