diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | admin/grammars/Makefile.in | 13 | ||||
| -rwxr-xr-x | admin/update_autogen | 12 | ||||
| -rw-r--r-- | lisp/cedet/semantic/grammar.el | 7 | ||||
| -rw-r--r-- | lisp/cedet/semantic/grm-wy-boot.el (renamed from lisp/cedet/semantic/grammar-wy.el) | 0 | ||||
| -rw-r--r-- | lisp/emacs-lisp/eieio-base.el | 3 |
6 files changed, 22 insertions, 14 deletions
diff --git a/.gitignore b/.gitignore index a1e3cb92f87..c262f39126d 100644 --- a/.gitignore +++ b/.gitignore | |||
| @@ -88,6 +88,7 @@ lisp/cedet/semantic/wisent/javat-wy.el | |||
| 88 | lisp/cedet/semantic/wisent/js-wy.el | 88 | lisp/cedet/semantic/wisent/js-wy.el |
| 89 | lisp/cedet/semantic/wisent/python-wy.el | 89 | lisp/cedet/semantic/wisent/python-wy.el |
| 90 | lisp/cedet/srecode/srt-wy.el | 90 | lisp/cedet/srecode/srt-wy.el |
| 91 | lisp/cedet/semantic/grammar-wy.el | ||
| 91 | lisp/eshell/esh-groups.el | 92 | lisp/eshell/esh-groups.el |
| 92 | lisp/finder-inf.el | 93 | lisp/finder-inf.el |
| 93 | lisp/leim/ja-dic/ | 94 | lisp/leim/ja-dic/ |
diff --git a/admin/grammars/Makefile.in b/admin/grammars/Makefile.in index 35ce55461f3..4172411e034 100644 --- a/admin/grammars/Makefile.in +++ b/admin/grammars/Makefile.in | |||
| @@ -51,14 +51,11 @@ BOVINE = \ | |||
| 51 | ${bovinedir}/make-by.el \ | 51 | ${bovinedir}/make-by.el \ |
| 52 | ${bovinedir}/scm-by.el | 52 | ${bovinedir}/scm-by.el |
| 53 | 53 | ||
| 54 | ## FIXME Should include this one too: | 54 | WISENT = \ |
| 55 | ## ${cedetdir}/semantic/grammar-wy.el | 55 | ${cedetdir}/semantic/grammar-wy.el \ |
| 56 | ## but semantic/grammar.el (which is what we use to generate grammar-wy.el) | 56 | ${wisentdir}/javat-wy.el \ |
| 57 | ## requires it! https://debbugs.gnu.org/16008 | 57 | ${wisentdir}/js-wy.el \ |
| 58 | WISENT = \ | 58 | ${wisentdir}/python-wy.el \ |
| 59 | ${wisentdir}/javat-wy.el \ | ||
| 60 | ${wisentdir}/js-wy.el \ | ||
| 61 | ${wisentdir}/python-wy.el \ | ||
| 62 | ${cedetdir}/srecode/srt-wy.el | 59 | ${cedetdir}/srecode/srt-wy.el |
| 63 | 60 | ||
| 64 | ALL = ${BOVINE} ${WISENT} | 61 | ALL = ${BOVINE} ${WISENT} |
diff --git a/admin/update_autogen b/admin/update_autogen index 35c391da19e..11c4313ae37 100755 --- a/admin/update_autogen +++ b/admin/update_autogen | |||
| @@ -317,7 +317,7 @@ EOF | |||
| 317 | echo "Finding loaddef targets..." | 317 | echo "Finding loaddef targets..." |
| 318 | 318 | ||
| 319 | find lisp -name '*.el' -exec grep '^;.*generated-autoload-file:' {} + | \ | 319 | find lisp -name '*.el' -exec grep '^;.*generated-autoload-file:' {} + | \ |
| 320 | sed -e '/loaddefs\|esh-groups/d' -e 's|/[^/]*: "|/|' -e 's/"//g' \ | 320 | sed -e '/loaddefs\|esh-groups/d' -e 's|/[^/]*: "|/|' -e 's/"//g' \ |
| 321 | >| $tempfile || die "Error finding targets" | 321 | >| $tempfile || die "Error finding targets" |
| 322 | 322 | ||
| 323 | genfiles= | 323 | genfiles= |
| @@ -363,17 +363,23 @@ make -C lisp "$@" autoloads EMACS=../src/bootstrap-emacs || die "make src error" | |||
| 363 | 363 | ||
| 364 | 364 | ||
| 365 | ## Ignore comment differences. | 365 | ## Ignore comment differences. |
| 366 | [ ! "$lboot_flag" ] || \ | 366 | [ ! "$lboot_flag" ] || \ |
| 367 | diff -q -I '^;' $ldefs_in $ldefs_out || \ | 367 | diff -q -I '^;' $ldefs_in $ldefs_out || \ |
| 368 | cp $ldefs_in $ldefs_out || die "cp ldefs_boot error" | 368 | cp $ldefs_in $ldefs_out || die "cp ldefs_boot error" |
| 369 | 369 | ||
| 370 | # Refresh the prebuilt grammar-wy.el | ||
| 371 | grammar_in=lisp/cedet/semantic/grammar-wy.el | ||
| 372 | grammar_out=lisp/cedet/semantic/grm-wy-boot.el | ||
| 373 | make -C admin/grammars/ ../../$grammar_in | ||
| 374 | cp $grammar_in $grammar_out || die "cp grm_wy_boot error" | ||
| 375 | |||
| 370 | 376 | ||
| 371 | echo "Checking status of loaddef files..." | 377 | echo "Checking status of loaddef files..." |
| 372 | 378 | ||
| 373 | ## It probably would be fine to just check+commit lisp/, since | 379 | ## It probably would be fine to just check+commit lisp/, since |
| 374 | ## making autoloads should not effect any other files. But better | 380 | ## making autoloads should not effect any other files. But better |
| 375 | ## safe than sorry. | 381 | ## safe than sorry. |
| 376 | modified=$(status $genfiles $ldefs_out) || die | 382 | modified=$(status $genfiles $ldefs_out $grammar_out) || die |
| 377 | 383 | ||
| 378 | 384 | ||
| 379 | commit "loaddefs" $modified || die "commit error" | 385 | commit "loaddefs" $modified || die "commit error" |
diff --git a/lisp/cedet/semantic/grammar.el b/lisp/cedet/semantic/grammar.el index dba289fdd75..4c3bb6c238b 100644 --- a/lisp/cedet/semantic/grammar.el +++ b/lisp/cedet/semantic/grammar.el | |||
| @@ -31,7 +31,12 @@ | |||
| 31 | (require 'semantic/format) | 31 | (require 'semantic/format) |
| 32 | ;; FIXME this is a generated file, but we need to load this file to | 32 | ;; FIXME this is a generated file, but we need to load this file to |
| 33 | ;; generate it! | 33 | ;; generate it! |
| 34 | (require 'semantic/grammar-wy) | 34 | ;; We need `semantic/grammar-wy.el' but we're also needed to generate |
| 35 | ;; that file from `grammar.wy', so to break the dependency, we keep | ||
| 36 | ;; a bootstrap copy of `grammar-wy.el' in `grm-wy-boot.el'. See bug#16008. | ||
| 37 | (eval-and-compile | ||
| 38 | (unless (require 'semantic/grammar-wy nil t) | ||
| 39 | (load "semantic/grm-wy-boot"))) | ||
| 35 | (require 'semantic/idle) | 40 | (require 'semantic/idle) |
| 36 | (require 'help-fns) | 41 | (require 'help-fns) |
| 37 | (require 'semantic/analyze) | 42 | (require 'semantic/analyze) |
diff --git a/lisp/cedet/semantic/grammar-wy.el b/lisp/cedet/semantic/grm-wy-boot.el index b3014034374..b3014034374 100644 --- a/lisp/cedet/semantic/grammar-wy.el +++ b/lisp/cedet/semantic/grm-wy-boot.el | |||
diff --git a/lisp/emacs-lisp/eieio-base.el b/lisp/emacs-lisp/eieio-base.el index ec1077d447e..641882c9026 100644 --- a/lisp/emacs-lisp/eieio-base.el +++ b/lisp/emacs-lisp/eieio-base.el | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | ;;; eieio-base.el --- Base classes for EIEIO. -*- lexical-binding:t -*- | 1 | ;;; eieio-base.el --- Base classes for EIEIO. -*- lexical-binding:t -*- |
| 2 | 2 | ||
| 3 | ;;; Copyright (C) 2000-2002, 2004-2005, 2007-2021 Free Software | 3 | ;; Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 4 | ;;; Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> |
| 7 | ;; Keywords: OO, lisp | 6 | ;; Keywords: OO, lisp |