1 ;;; semantic/bovine/make-by.el --- Generated parser support file
3 ;; Copyright (C) 1999-2004, 2008-2013 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/make.by.
26 (require 'semantic/lex)
27 (eval-when-compile (require 'semantic/bovine))
34 (defconst semantic-make-by--keyword-table
35 (semantic-lex-make-keyword-table
43 ("include" . INCLUDE))
44 '(("include" summary "Macro: include filename1 filename2 ...")
45 ("ifneq" summary "Conditional: ifneq (expression) ... else ... endif")
46 ("ifeq" summary "Conditional: ifeq (expression) ... else ... endif")
47 ("ifndef" summary "Conditional: ifndef (expression) ... else ... endif")
48 ("ifdef" summary "Conditional: ifdef (expression) ... else ... endif")
49 ("endif" summary "Conditional: if (expression) ... else ... endif")
50 ("else" summary "Conditional: if (expression) ... else ... endif")
51 ("if" summary "Conditional: if (expression) ... else ... endif")))
52 "Table of language keywords.")
54 (defconst semantic-make-by--token-table
55 (semantic-lex-make-type-table
57 (BACKSLASH . "\\`[\\]\\'")
58 (DOLLAR . "\\`[$]\\'")
61 (COLON . "\\`[:]\\'")))
63 "Table of lexical tokens.")
65 (defconst semantic-make-by--parse-table
69 ) ;; end bovine-toplevel
114 (semantic-tag-new-variable
128 (semantic-tag-new-function
235 (semantic-tag-new-include
278 ) ;; end element-list
318 (buffer-substring-no-properties
330 (buffer-substring-no-properties
358 ) ;; end opt-whitespace
370 ) ;; end some-whitespace
374 (defun semantic-make-by--install-parser ()
375 "Setup the Semantic Parser."
376 (setq semantic--parse-table semantic-make-by--parse-table
377 semantic-debug-parser-source "make.by"
378 semantic-debug-parser-class 'semantic-bovine-debug-parser
379 semantic-flex-keywords-obarray semantic-make-by--keyword-table
389 (provide 'semantic/bovine/make-by)
391 ;;; semantic/bovine/make-by.el ends here