Function: semantic-default-make-setup

semantic-default-make-setup is an autoloaded and byte-compiled function defined in make.el.gz.

Signature

(semantic-default-make-setup)

Documentation

Set up a Makefile buffer for parsing with semantic.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/bovine/make.el.gz
;;;###autoload
(defun semantic-default-make-setup ()
  "Set up a Makefile buffer for parsing with semantic."
  (semantic-make-by--install-parser)
  (setq semantic-symbol->name-assoc-list '((variable . "Variables")
                                           (function . "Rules")
                                           (include . "Dependencies")
					   ;; File is a meta-type created
					   ;; to represent completions
					   ;; but not actually parsed.
					   (file . "File"))
        semantic-case-fold t
        semantic-tag-expand-function #'semantic-make-expand-tag
        semantic-lex-syntax-modifications '((?. "_")
                                            (?= ".")
                                            (?/ "_")
                                            (?$ ".")
                                            (?+ ".")
                                            (?\\ ".")
                                            )
        semantic--create-index-function-origin imenu-create-index-function
        imenu-create-index-function #'semantic-create-imenu-index
        )
  (setq semantic-lex-analyzer #'semantic-make-lexer)
  )