Index: generators/Makefile ================================================================== --- generators/Makefile +++ generators/Makefile @@ -1,10 +1,10 @@ PROG_NOINST = gen_tables${PROG_SUFFIX} SRCS = gen_tables.m .PHONY: run -run: all +run: all UnicodeData.txt rm -f libobjfw.so.0 libobjfw.so.0.1 libobjfw.dll libobjfw.dylib if test -f ../src/libobjfw.so; then \ ln -s ../src/libobjfw.so libobjfw.so.0; \ ln -s ../src/libobjfw.so libobjfw.so.0.1; \ elif test -f ../src/libobjfw.so.0.1; then \ @@ -21,9 +21,12 @@ DYLD_LIBRARY_PATH=.$${DYLD_LIBRARY_PATH+:}$$DYLD_LIBRARY_PATH \ ${TEST_LAUNCHER} ./${PROG_NOINST}; EXIT=$$?; \ rm -f libobjfw.so.0 libobjfw.so.0.1 libobjfw.dll libobjfw.dylib; \ exit $$EXIT +UnicodeData.txt: + wget http://unicode.org/Public/UNIDATA/UnicodeData.txt + include ../buildsys.mk CPPFLAGS += -I../src -I.. LIBS := -L../src -lobjfw ${LIBS} Index: generators/gen_tables.m ================================================================== --- generators/gen_tables.m +++ generators/gen_tables.m @@ -199,11 +199,11 @@ [f writeString: @"extern const of_unichar_t* const\n" @" of_unicode_upper_table[OF_UNICODE_UPPER_TABLE_SIZE];\n" @"extern const of_unichar_t* const\n" - @" of_unicode_lower_table[OF_UNICODE_LOWER_TABLE_SIZE];"]; + @" of_unicode_lower_table[OF_UNICODE_LOWER_TABLE_SIZE];\n"]; [pool release]; } @end Index: src/unicode.h ================================================================== --- src/unicode.h +++ src/unicode.h