1 ;;; semantic-scm-by.el --- Generated parser support file
3 ;; Copyright (C) 2001, 2003 Eric M. Ludlam
5 ;; Author: Eric M. Ludlam <zappo@projectile.siege-engine.com>
6 ;; Created: 2007-06-05 21:47:08-0400
8 ;; X-RCS: $Id: semantic-scm-by.el,v 1.1 2007-11-26 15:11:58 michaels Exp $
10 ;; This file is not part of GNU Emacs.
12 ;; This program is free software; you can redistribute it and/or
13 ;; modify it under the terms of the GNU General Public License as
14 ;; published by the Free Software Foundation; either version 2, or (at
15 ;; your option) any later version.
17 ;; This software is distributed in the hope that it will be useful,
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 ;; General Public License for more details.
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with GNU Emacs; see the file COPYING. If not, write to the
24 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
25 ;; Boston, MA 02110-1301, USA.
29 ;; PLEASE DO NOT MANUALLY EDIT THIS FILE! It is automatically
30 ;; generated from the grammar file scheme.by.
42 (defconst semantic-scm-by--keyword-table
43 (semantic-lex-make-keyword-table
45 ("define-module" . DEFINE-MODULE)
47 '(("load" summary "Function: (load \"filename\")")
48 ("define-module" summary "Function: (define-module (name arg1 ...)) ")
49 ("define" summary "Function: (define symbol expression)")))
50 "Table of language keywords.")
52 (defconst semantic-scm-by--token-table
53 (semantic-lex-make-type-table
59 "Table of lexical tokens.")
61 (defconst semantic-scm-by--parse-table
65 ) ;; end bovine-toplevel
69 ,(lambda (vals start end)
70 (semantic-bovinate-from-nonterminal
95 (semantic-tag-new-variable
104 (semantic-tag-new-function
113 (semantic-tag-new-package
122 (semantic-tag-new-include
123 (file-name-nondirectory
131 (semantic-tag-new-code
134 ) ;; end scheme-in-list
138 ,(lambda (vals start end)
139 (semantic-bovinate-from-nonterminal
164 ) ;; end name-arg-expand
186 (defun semantic-scm-by--install-parser ()
187 "Setup the Semantic Parser."
188 (setq semantic--parse-table semantic-scm-by--parse-table
189 semantic-debug-parser-source "scheme.by"
190 semantic-debug-parser-class 'semantic-bovine-debug-parser
191 semantic-flex-keywords-obarray semantic-scm-by--keyword-table
197 (require 'semantic-lex)
203 (provide 'semantic-scm-by)
205 ;;; semantic-scm-by.el ends here