1 ;;; semantic/bovine/make-by.el --- Generated parser support file
3 ;; Copyright (C) 1999-2004, 2008-2012 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 etc/grammars/make.by.
26 (require 'semantic
/lex
)
27 (eval-when-compile (require 'semantic
/bovine
))
35 (defconst semantic-make-by--keyword-table
36 (semantic-lex-make-keyword-table
44 ("include" . INCLUDE
))
45 '(("include" summary
"Macro: include filename1 filename2 ...")
46 ("ifneq" summary
"Conditional: ifneq (expression) ... else ... endif")
47 ("ifeq" summary
"Conditional: ifeq (expression) ... else ... endif")
48 ("ifndef" summary
"Conditional: ifndef (expression) ... else ... endif")
49 ("ifdef" summary
"Conditional: ifdef (expression) ... else ... endif")
50 ("endif" summary
"Conditional: if (expression) ... else ... endif")
51 ("else" summary
"Conditional: if (expression) ... else ... endif")
52 ("if" summary
"Conditional: if (expression) ... else ... endif")))
53 "Table of language keywords.")
55 (defconst semantic-make-by--token-table
56 (semantic-lex-make-type-table
58 (BACKSLASH .
"\\`[\\]\\'")
59 (DOLLAR .
"\\`[$]\\'")
62 (COLON .
"\\`[:]\\'")))
64 "Table of lexical tokens.")
66 (defconst semantic-make-by--parse-table
70 ) ;; end bovine-toplevel
115 (semantic-tag-new-variable
129 (semantic-tag-new-function
236 (semantic-tag-new-include
279 ) ;; end element-list
319 (buffer-substring-no-properties
331 (buffer-substring-no-properties
359 ) ;; end opt-whitespace
371 ) ;; end some-whitespace
375 (defun semantic-make-by--install-parser ()
376 "Setup the Semantic Parser."
377 (setq semantic--parse-table semantic-make-by--parse-table
378 semantic-debug-parser-source
"make.by"
379 semantic-debug-parser-class
'semantic-bovine-debug-parser
380 semantic-flex-keywords-obarray semantic-make-by--keyword-table
383 (provide 'semantic
/bovine
/make-by
)
385 ;;; semantic/bovine/make-by.el ends here