diff options
| author | Glenn Morris | 2013-11-29 18:06:34 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-11-29 18:06:34 -0800 |
| commit | f9b697ddaa60742d4a60b1fa4ab37efc2c3cb1e1 (patch) | |
| tree | 2983eafdf74ab173b7072c5722f0ef64525814d6 /admin/grammars/python.wy | |
| parent | a64133bd252caf29a0a3ab6732ac1c76c91e17cb (diff) | |
| download | emacs-f9b697ddaa60742d4a60b1fa4ab37efc2c3cb1e1.tar.gz emacs-f9b697ddaa60742d4a60b1fa4ab37efc2c3cb1e1.zip | |
Stop keeping (all but one) generated cedet grammar files in the repository
* configure.ac (SUBDIR_MAKEFILES, AC_CONFIG_FILES):
Add admin/grammars Makefile.
* Makefile.in (distclean, bootstrap-clean, maintainer-clean):
Also clean admin/grammars, if present.
* admin/grammars/README: Remove.
* admin/grammars/Makefile.in: New file.
* admin/grammars/c.by, admin/grammars/java-tags.wy, admin/grammars/js.wy:
* admin/grammars/python.wy: Update declarations to match generated outputs.
* lisp/Makefile.in (semantic): New.
(compile-main): Depend on semantic.
* lisp/cedet/semantic/bovine/grammar.el (bovine--make-parser-1):
New function, split from bovine-make-parsers.
(bovine-make-parsers): Use bovine--make-parser-1.
(bovine-batch-make-parser): New function.
* lisp/cedet/semantic/wisent/grammar.el (wisent--make-parser-1):
New function, split from wisent-make-parsers.
(wisent-make-parsers): Use wisent--make-parser-1.
(wisent-batch-make-parser): New function.
* lisp/cedet/semantic/db.el (semanticdb-save-all-db):
Avoid prompting in batch mode.
* lisp/cedet/semantic/grammar.el (semantic-grammar-footer-template):
Disable version-control and autoloads in the output.
(semantic-grammar-create-package):
Add option to return nil if output is up-to-date.
* lisp/cedet/semantic/bovine/c-by.el, lisp/cedet/semantic/bovine/make-by.el:
* lisp/cedet/semantic/bovine/scm-by.el, lisp/cedet/semantic/wisent/javat-wy.el:
* lisp/cedet/semantic/wisent/js-wy.el, lisp/cedet/semantic/wisent/python-wy.el:
* lisp/cedet/srecode/srt-wy.el: Remove generated files from repository.
* .bzrignore: Update for this.
Diffstat (limited to 'admin/grammars/python.wy')
| -rw-r--r-- | admin/grammars/python.wy | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/admin/grammars/python.wy b/admin/grammars/python.wy index 02fb7390b01..b82125d2bc3 100644 --- a/admin/grammars/python.wy +++ b/admin/grammars/python.wy | |||
| @@ -91,8 +91,12 @@ | |||
| 91 | %provide semantic/wisent/python-wy | 91 | %provide semantic/wisent/python-wy |
| 92 | 92 | ||
| 93 | %{ | 93 | %{ |
| 94 | (declare-function wisent-python-reconstitute-function-tag "semantic/wisent/python") | 94 | (declare-function wisent-python-reconstitute-function-tag |
| 95 | (declare-function wisent-python-reconstitute-class-tag "semantic/wisent/python") | 95 | "semantic/wisent/python" (tag suite)) |
| 96 | (declare-function wisent-python-reconstitute-class-tag "semantic/wisent/python" | ||
| 97 | (tag)) | ||
| 98 | (declare-function semantic-parse-region "semantic" | ||
| 99 | (start end &optional nonterminal depth returnonerror)) | ||
| 96 | } | 100 | } |
| 97 | 101 | ||
| 98 | %languagemode python-mode | 102 | %languagemode python-mode |