1 ;;; semantic-scm-by.el --- Generated parser support file
3 ;; Copyright (C) 2001, 2003, 2009, 2010, 2011 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 the grammar file
23 ;; semantic/bovine/scm.by in the CEDET repository.
27 (require 'semantic/lex)
29 (eval-when-compile (require 'semantic/bovine))
36 (defconst semantic-scm-by--keyword-table
37 (semantic-lex-make-keyword-table
39 ("define-module" . DEFINE-MODULE)
41 '(("load" summary "Function: (load \"filename\")")
42 ("define-module" summary "Function: (define-module (name arg1 ...)) ")
43 ("define" summary "Function: (define symbol expression)")))
44 "Table of language keywords.")
46 (defconst semantic-scm-by--token-table
47 (semantic-lex-make-type-table
53 "Table of lexical tokens.")
55 (defconst semantic-scm-by--parse-table
59 ) ;; end bovine-toplevel
63 ,(lambda (vals start end)
64 (semantic-bovinate-from-nonterminal
89 (semantic-tag-new-variable
98 (semantic-tag-new-function
107 (semantic-tag-new-package
116 (semantic-tag-new-include
117 (file-name-nondirectory
125 (semantic-tag-new-code
128 ) ;; end scheme-in-list
132 ,(lambda (vals start end)
133 (semantic-bovinate-from-nonterminal
158 ) ;; end name-arg-expand
181 (defun semantic-scm-by--install-parser ()
182 "Setup the Semantic Parser."
183 (setq semantic--parse-table semantic-scm-by--parse-table
184 semantic-debug-parser-source "scheme.by"
185 semantic-debug-parser-class 'semantic-bovine-debug-parser
186 semantic-flex-keywords-obarray semantic-scm-by--keyword-table
189 (provide 'semantic/bovine/scm-by)
191 ;; arch-tag: 945749cc-a039-434f-bf95-bf2480a506c3
192 ;;; semantic/bovine/scm-by.el ends here