1 ;;; semantic/bovine/scm-by.el --- Generated parser support file
3 ;; Copyright (C) 2001, 2003, 2009-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 admin/grammars/scm.by.
26 (require 'semantic/lex)
27 (eval-when-compile (require 'semantic/bovine))
34 (defconst semantic-scm-by--keyword-table
35 (semantic-lex-make-keyword-table
37 ("define-module" . DEFINE-MODULE)
39 '(("load" summary "Function: (load \"filename\")")
40 ("define-module" summary "Function: (define-module (name arg1 ...)) ")
41 ("define" summary "Function: (define symbol expression)")))
42 "Table of language keywords.")
44 (defconst semantic-scm-by--token-table
45 (semantic-lex-make-type-table
51 "Table of lexical tokens.")
53 (defconst semantic-scm-by--parse-table
57 ) ;; end bovine-toplevel
61 ,(lambda (vals start end)
62 (semantic-bovinate-from-nonterminal
87 (semantic-tag-new-variable
96 (semantic-tag-new-function
105 (semantic-tag-new-package
114 (semantic-tag-new-include
115 (file-name-nondirectory
123 (semantic-tag-new-code
126 ) ;; end scheme-in-list
130 ,(lambda (vals start end)
131 (semantic-bovinate-from-nonterminal
156 ) ;; end name-arg-expand
179 (defun semantic-scm-by--install-parser ()
180 "Setup the Semantic Parser."
181 (setq semantic--parse-table semantic-scm-by--parse-table
182 semantic-debug-parser-source "scheme.by"
183 semantic-debug-parser-class 'semantic-bovine-debug-parser
184 semantic-flex-keywords-obarray semantic-scm-by--keyword-table
194 (provide 'semantic/bovine/scm-by)
196 ;;; semantic/bovine/scm-by.el ends here