]> git.eshelyaron.com Git - emacs.git/commit
Regenerate semantic grammars if the generating code changes
authorGlenn Morris <rgm@gnu.org>
Sun, 4 Apr 2021 23:57:55 +0000 (16:57 -0700)
committerGlenn Morris <rgm@gnu.org>
Sun, 4 Apr 2021 23:57:55 +0000 (16:57 -0700)
commit9cb3db0bade2ea43bad9cadc7864887c09bc7cd0
tree1eace9fefdb6170ad5ecd8f03012bea03dbf7685
parent258a17855becd8ab914a9bcf063e43801e704781
Regenerate semantic grammars if the generating code changes

* admin/grammars/Makefile.in (emacs): Set load-prefer-newer.
(grammar_bovine, grammar_wisent): New variables.
(${bovinedir}/%-by.el, ${bovinedir}/scm-by.el)
(${cedetdir}/semantic/%-wy.el, ${wisentdir}/%-wy.el)
(${wisentdir}/javat-wy.el, ${cedetdir}/srecode/srt-wy.el):
Depend on the source file for the generating function.
* lisp/cedet/semantic/bovine/grammar.el (bovine--make-parser-1):
* lisp/cedet/semantic/wisent/grammar.el (wisent--make-parser-1):
Force generation of the output file.  The previous "is the output
newer than the input" failed to account for changes in the
generation code itself.  Force so we can let make figure it out.
admin/grammars/Makefile.in
lisp/cedet/semantic/bovine/grammar.el
lisp/cedet/semantic/wisent/grammar.el