1 ;;; semantic/bovine/make-by.el --- Generated parser support file
3 ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2008, 2009, 2010, 2011
4 ;; Free Software Foundation, Inc.
6 ;; This file is part of GNU Emacs.
8 ;; GNU Emacs is free software: you can redistribute it and/or modify
9 ;; it under the terms of the GNU General Public License as published by
10 ;; the Free Software Foundation, either version 3 of the License, or
11 ;; (at your option) any later version.
13 ;; GNU Emacs is distributed in the hope that it will be useful,
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;; GNU General Public License for more details.
18 ;; You should have received a copy of the GNU General Public License
19 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
23 ;; This file was generated from the grammar file
24 ;; semantic/bovine/make.by in the CEDET repository.
28 (require 'semantic/lex)
29 (eval-when-compile (require 'semantic/bovine))
37 (defconst semantic-make-by--keyword-table
38 (semantic-lex-make-keyword-table
46 ("include" . INCLUDE))
47 '(("include" summary "Macro: include filename1 filename2 ...")
48 ("ifneq" summary "Conditional: ifneq (expression) ... else ... endif")
49 ("ifeq" summary "Conditional: ifeq (expression) ... else ... endif")
50 ("ifndef" summary "Conditional: ifndef (expression) ... else ... endif")
51 ("ifdef" summary "Conditional: ifdef (expression) ... else ... endif")
52 ("endif" summary "Conditional: if (expression) ... else ... endif")
53 ("else" summary "Conditional: if (expression) ... else ... endif")
54 ("if" summary "Conditional: if (expression) ... else ... endif")))
55 "Table of language keywords.")
57 (defconst semantic-make-by--token-table
58 (semantic-lex-make-type-table
60 (BACKSLASH . "\\`[\\]\\'")
61 (DOLLAR . "\\`[$]\\'")
64 (COLON . "\\`[:]\\'")))
66 "Table of lexical tokens.")
68 (defconst semantic-make-by--parse-table
72 ) ;; end bovine-toplevel
117 (semantic-tag-new-variable
131 (semantic-tag-new-function
238 (semantic-tag-new-include
281 ) ;; end element-list
321 (buffer-substring-no-properties
333 (buffer-substring-no-properties
361 ) ;; end opt-whitespace
373 ) ;; end some-whitespace
377 (defun semantic-make-by--install-parser ()
378 "Setup the Semantic Parser."
379 (setq semantic--parse-table semantic-make-by--parse-table
380 semantic-debug-parser-source "make.by"
381 semantic-debug-parser-class 'semantic-bovine-debug-parser
382 semantic-flex-keywords-obarray semantic-make-by--keyword-table
385 (provide 'semantic/bovine/make-by)
387 ;; arch-tag: 8c3749b8-7b19-46e0-af01-2a4d02fd0352
388 ;;; semantic/bovine/make-by.el ends here