1 ;;; semantic/bovine/make-by.el --- Generated parser support file
3 ;; Copyright (C) 1999-2004, 2008-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/make.by in the CEDET repository.
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 ;;; semantic/bovine/make-by.el ends here