ObjFW  Check-in [8aba444b87]

Overview
Comment:TableGenerator: Terminate when done.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8aba444b87661eadc772f5328f80eed49b695ea38ae40853df45f7a42620a91f
User & Date: js on 2012-10-27 16:09:09
Other Links: manifest | tags
Context
2012-10-27
16:16
make tarball: Generate documentation tarball. check-in: 24b7e7894e user: js tags: trunk
16:09
TableGenerator: Terminate when done. check-in: 8aba444b87 user: js tags: trunk
15:53
Update Xcode project. check-in: a62968757b user: js tags: trunk
Changes

Modified generators/TableGenerator.m from [8738718fa6] to [820c9b00cf].

47
48
49
50
51
52
53


54
55
56
57
58
59
60
	TableGenerator *generator = [[[TableGenerator alloc] init] autorelease];

	[generator readUnicodeDataFileAtPath: @"UnicodeData.txt"];
	[generator readCaseFoldingFileAtPath: @"CaseFolding.txt"];

	[generator writeTablesToFileAtPath: @"../src/unicode.m"];
	[generator writeHeaderToFileAtPath: @"../src/unicode.h"];


}

- (void)readUnicodeDataFileAtPath: (OFString*)path
{
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init], *pool2;
	OFFile *file = [OFFile fileWithPath: path
				       mode: @"rb"];







>
>







47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
	TableGenerator *generator = [[[TableGenerator alloc] init] autorelease];

	[generator readUnicodeDataFileAtPath: @"UnicodeData.txt"];
	[generator readCaseFoldingFileAtPath: @"CaseFolding.txt"];

	[generator writeTablesToFileAtPath: @"../src/unicode.m"];
	[generator writeHeaderToFileAtPath: @"../src/unicode.h"];

	[OFApplication terminate];
}

- (void)readUnicodeDataFileAtPath: (OFString*)path
{
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init], *pool2;
	OFFile *file = [OFFile fileWithPath: path
				       mode: @"rb"];