diff options
author | Eli Zaretskii <eliz@gnu.org> | 2010-06-12 17:15:25 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2010-06-12 17:15:25 +0300 |
commit | 317fbf3360f9b1163bc371d8d66c67994cb238e9 (patch) | |
tree | 9a86894ea0180bd8282e8076becd63865f32bded /admin | |
parent | 6e6e5760b3bafc41e425aad03ec61e59731713d5 (diff) | |
download | emacs-317fbf3360f9b1163bc371d8d66c67994cb238e9.tar.gz |
Derive bidi type table from UnicodeData.txt.
src/bidi.c (bidi_initialize): Remove explicit initialization of
bidi_type_table; include biditype.h instead. Don't support
entries whose second codepoint is zero.
src/biditype.h: New file.
admin/unidata/biditype.awk: New file.
admin/unidata/Makefile.in (../../src/biditype.h): New target.
admin/unidata/makefile.w32-in (../../src/biditype.h): New target.
Diffstat (limited to 'admin')
-rw-r--r-- | admin/ChangeLog | 8 | ||||
-rw-r--r-- | admin/unidata/Makefile.in | 5 | ||||
-rw-r--r-- | admin/unidata/makefile.w32-in | 9 |
3 files changed, 19 insertions, 3 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index 9e359c95c19..430e3c30f3c 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog @@ -1,3 +1,11 @@ +2010-06-12 Eli Zaretskii <eliz@gnu.org> + + * unidata/biditype.awk: New file. + + * unidata/Makefile.in (../../src/biditype.h): New target. + + * unidata/makefile.w32-in (../../src/biditype.h): New target. + 2010-06-09 Juanma Barranquero <lekktu@gmail.com> * unidata/UnicodeData.txt: Update from diff --git a/admin/unidata/Makefile.in b/admin/unidata/Makefile.in index 2b31e6ed949..e2a91c94ab1 100644 --- a/admin/unidata/Makefile.in +++ b/admin/unidata/Makefile.in @@ -23,7 +23,7 @@ EMACS = ../../src/emacs DSTDIR = ../../lisp/international RUNEMACS = ${EMACS} -Q --multibyte -batch -all: ${DSTDIR}/charprop.el +all: ${DSTDIR}/charprop.el ../../src/biditype.h .el.elc: ${RUNEMACS} -batch -f batch-byte-compile $< @@ -37,6 +37,9 @@ ${DSTDIR}/charprop.el: unidata-gen.elc unidata.txt cd ${DSTDIR}; \ ${RUNEMACS} -batch --load $${ELC} -f unidata-gen-files $${DATA} +../../src/biditype.h: UnicodeData.txt + gawk -F";" -f biditype.awk $< > $@ + install: charprop.el cp charprop.el ${DSTDIR} cp `sed -n 's/^;; FILE: //p' < charprop.el` ${DSTDIR} diff --git a/admin/unidata/makefile.w32-in b/admin/unidata/makefile.w32-in index 29562283bcb..822bd42de7b 100644 --- a/admin/unidata/makefile.w32-in +++ b/admin/unidata/makefile.w32-in @@ -29,7 +29,7 @@ EMACSLOADPATH = $(lisp);$(lisp)/international;$(lisp)/emacs-lisp # Quote EMACS so it could be a file name with embedded whitespace RUNEMACS = "$(EMACS)" -Q --multibyte -batch -all: $(DSTDIR)/charprop.el +all: $(DSTDIR)/charprop.el ../../src/biditype.h .el.elc: $(RUNEMACS) -f batch-byte-compile $< @@ -50,6 +50,11 @@ charprop-CMD: unidata-gen.elc unidata.txt ${DSTDIR}/charprop.el: charprop-$(SHELLTYPE) +../../src/biditype.h: UnicodeData.txt + gawk -F";" -f biditype.awk -v BINMODE=2 $< > biditype.h + $(CP) -f biditype.h $@ + $(DEL) biditype.h + clean: - - $(DEL) unidata-gen.elc unidata.txt + - $(DEL) unidata-gen.elc unidata.txt biditype.h |