Function: srecode-template-wy--install-parser
srecode-template-wy--install-parser is a byte-compiled function
defined in srt-wy.el.gz.
Signature
(srecode-template-wy--install-parser)
Documentation
Setup the Semantic Parser.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/srecode/srt-wy.el.gz
(defun srecode-template-wy--install-parser ()
"Setup the Semantic Parser."
(semantic-install-function-overrides
'((semantic-parse-stream . wisent-parse-stream)))
(setq semantic-parser-name "LALR"
semantic--parse-table srecode-template-wy--parse-table
semantic-debug-parser-source "srecode-template.wy"
semantic-flex-keywords-obarray srecode-template-wy--keyword-table
semantic-lex-types-obarray srecode-template-wy--token-table)
;; Collect unmatched syntax lexical tokens
(add-hook 'wisent-discarding-token-functions
#'wisent-collect-unmatched-syntax nil t))