1 ;;; semantic/bovine/make-by.el --- Generated parser support file
3 ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2008, 2009, 2010, 2011, 2012
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 etc/grammars/make.by.
27 (require 'semantic
/lex
)
28 (eval-when-compile (require 'semantic
/bovine
))
36 (defconst semantic-make-by--keyword-table
37 (semantic-lex-make-keyword-table
45 ("include" . INCLUDE
))
46 '(("include" summary
"Macro: include filename1 filename2 ...")
47 ("ifneq" summary
"Conditional: ifneq (expression) ... else ... endif")
48 ("ifeq" summary
"Conditional: ifeq (expression) ... else ... endif")
49 ("ifndef" summary
"Conditional: ifndef (expression) ... else ... endif")
50 ("ifdef" summary
"Conditional: ifdef (expression) ... else ... endif")
51 ("endif" summary
"Conditional: if (expression) ... else ... endif")
52 ("else" summary
"Conditional: if (expression) ... else ... endif")
53 ("if" summary
"Conditional: if (expression) ... else ... endif")))
54 "Table of language keywords.")
56 (defconst semantic-make-by--token-table
57 (semantic-lex-make-type-table
59 (BACKSLASH .
"\\`[\\]\\'")
60 (DOLLAR .
"\\`[$]\\'")
63 (COLON .
"\\`[:]\\'")))
65 "Table of lexical tokens.")
67 (defconst semantic-make-by--parse-table
71 ) ;; end bovine-toplevel
116 (semantic-tag-new-variable
130 (semantic-tag-new-function
237 (semantic-tag-new-include
280 ) ;; end element-list
320 (buffer-substring-no-properties
332 (buffer-substring-no-properties
360 ) ;; end opt-whitespace
372 ) ;; end some-whitespace
376 (defun semantic-make-by--install-parser ()
377 "Setup the Semantic Parser."
378 (setq semantic--parse-table semantic-make-by--parse-table
379 semantic-debug-parser-source
"make.by"
380 semantic-debug-parser-class
'semantic-bovine-debug-parser
381 semantic-flex-keywords-obarray semantic-make-by--keyword-table
384 (provide 'semantic
/bovine
/make-by
)
386 ;; arch-tag: 8c3749b8-7b19-46e0-af01-2a4d02fd0352
387 ;;; semantic/bovine/make-by.el ends here