From cbc4fd20f7a9460026035e07116badeddf33e0e0 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 12 Jun 2010 18:52:43 +0300 Subject: Use BidiMirroring.txt for mirroring characters in bidi context. admin/unidata/bidimirror.awk: New file. admin/unidata/BidiMirroring.txt: New file from http://www.unicode.org/Public/6.0.0/ucd/BidiMirroring-6.0.0d1.txt. admin/unidata/Makefile.in: (../../src/bidimirror.h): New target. (all): Depend on ../../src/biditype.h and ../../src/bidimirror.h. admin/unidata/makefile.w32-in (../../src/bidimirror.h): New target. (all): Depend on ../../src/biditype.h and ../../src/bidimirror.h. src/makefile.w32-in ($(BLD)/bidi.$(O)): Depend on biditype.h and bidimirror.h. src/deps.mk (bidi.o): Depend on biditype.h and bidimirror.h. src/bidi.c (bidi_initialize): Initialize bidi_mirror_table. (bidi_mirror_char): Use bidi_mirror_table. --- src/deps.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/deps.mk') diff --git a/src/deps.mk b/src/deps.mk index 1514ec5e61..e926939772 100644 --- a/src/deps.mk +++ b/src/deps.mk @@ -39,7 +39,8 @@ atimer.o: atimer.c atimer.h syssignal.h systime.h lisp.h blockinput.h \ $(config_h) -bidi.o: bidi.c buffer.h character.h dispextern.h lisp.h $(config_h) +bidi.o: bidi.c buffer.h character.h dispextern.h lisp.h \ + biditype.h bidimirror.h $(config_h) buffer.o: buffer.c buffer.h region-cache.h commands.h window.h \ $(INTERVALS_H) blockinput.h atimer.h systime.h character.h \ indent.h keyboard.h coding.h keymap.h frame.h lisp.h $(config_h) -- cgit v1.2.3