mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Don't version-control generated file grammat-wy.el
This file is needed for CEDET's bootstrap, tho, so we now keep a copy of it under version control in `gram-wy-boot.el`, very much like we do with the `ldefs-boot.el` copy of `loaddefs.el`. * lisp/cedet/semantic/grm-wy-boot.el: Rename from `lisp/cedet/semantic/grammar-wy.el`. * lisp/cedet/semantic/grammar.el: Load `grm-wy-boot.el` if `grammar-wy.el` hasn't been generated yet. * admin/update_autogen: Also refresh `grm-wy-boot.el`. * admin/grammars/Makefile.in (WISENT): Add `grammar-wy.el` to the generated files. * .gitignore: Add `grammar-wy.el`.
This commit is contained in:
parent
fc3caa45ef
commit
214dfbfea0
6 changed files with 22 additions and 14 deletions
|
|
@ -31,7 +31,12 @@
|
|||
(require 'semantic/format)
|
||||
;; FIXME this is a generated file, but we need to load this file to
|
||||
;; generate it!
|
||||
(require 'semantic/grammar-wy)
|
||||
;; We need `semantic/grammar-wy.el' but we're also needed to generate
|
||||
;; that file from `grammar.wy', so to break the dependency, we keep
|
||||
;; a bootstrap copy of `grammar-wy.el' in `grm-wy-boot.el'. See bug#16008.
|
||||
(eval-and-compile
|
||||
(unless (require 'semantic/grammar-wy nil t)
|
||||
(load "semantic/grm-wy-boot")))
|
||||
(require 'semantic/idle)
|
||||
(require 'help-fns)
|
||||
(require 'semantic/analyze)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue