Function: semantic-debug-find-parser-source
semantic-debug-find-parser-source is a byte-compiled function defined
in debug.el.gz.
Signature
(semantic-debug-find-parser-source)
Documentation
Return a buffer containing the parser source file for the current buffer.
The parser needs to be on the load path, or this routine returns nil.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/debug.el.gz
(defun semantic-debug-find-parser-source ()
"Return a buffer containing the parser source file for the current buffer.
The parser needs to be on the load path, or this routine returns nil."
(if (not semantic-debug-parser-source)
(error "No parser is associated with this buffer"))
(let ((parser (locate-library semantic-debug-parser-source t)))
(if parser
(find-file-noselect parser)
(error "Cannot find parser source. It should be on the load-path"))))