1 ;;; semantic-scm-by.el --- Generated parser support file
3 ;; Copyright (C) 2001, 2003, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
5 ;; This file is part of GNU Emacs.
7 ;; GNU Emacs is free software: you can redistribute it and/or modify
8 ;; it under the terms of the GNU General Public License as published by
9 ;; the Free Software Foundation, either version 3 of the License, or
10 ;; (at your option) any later version.
12 ;; GNU Emacs is distributed in the hope that it will be useful,
13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;; GNU General Public License for more details.
17 ;; You should have received a copy of the GNU General Public License
18 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
22 ;; This file was generated from etc/grammars/scm.by.
26 (require 'semantic
/lex
)
28 (eval-when-compile (require 'semantic
/bovine
))
35 (defconst semantic-scm-by--keyword-table
36 (semantic-lex-make-keyword-table
38 ("define-module" . DEFINE-MODULE
)
40 '(("load" summary
"Function: (load \"filename\")")
41 ("define-module" summary
"Function: (define-module (name arg1 ...)) ")
42 ("define" summary
"Function: (define symbol expression)")))
43 "Table of language keywords.")
45 (defconst semantic-scm-by--token-table
46 (semantic-lex-make-type-table
52 "Table of lexical tokens.")
54 (defconst semantic-scm-by--parse-table
58 ) ;; end bovine-toplevel
62 ,(lambda (vals start end
)
63 (semantic-bovinate-from-nonterminal
88 (semantic-tag-new-variable
97 (semantic-tag-new-function
106 (semantic-tag-new-package
115 (semantic-tag-new-include
116 (file-name-nondirectory
124 (semantic-tag-new-code
127 ) ;; end scheme-in-list
131 ,(lambda (vals start end
)
132 (semantic-bovinate-from-nonterminal
157 ) ;; end name-arg-expand
180 (defun semantic-scm-by--install-parser ()
181 "Setup the Semantic Parser."
182 (setq semantic--parse-table semantic-scm-by--parse-table
183 semantic-debug-parser-source
"scheme.by"
184 semantic-debug-parser-class
'semantic-bovine-debug-parser
185 semantic-flex-keywords-obarray semantic-scm-by--keyword-table
188 (provide 'semantic
/bovine
/scm-by
)
190 ;; arch-tag: 945749cc-a039-434f-bf95-bf2480a506c3
191 ;;; semantic/bovine/scm-by.el ends here