ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/gencompose
(Generate patch)

Comparing rxvt-unicode/src/gencompose (file contents):
Revision 1.1 by pcg, Thu Mar 4 02:05:49 2004 UTC vs.
Revision 1.2 by pcg, Thu Mar 4 03:04:53 2004 UTC

8print TABLE <<EOF; 8print TABLE <<EOF;
9// 9//
10// AUTOMATICALLLY GENERATED by gencompose 10// AUTOMATICALLLY GENERATED by gencompose
11// 11//
12 12
13struct rxvt_compose { 13struct rxvt_compose_entry {
14 uint32_t c1, c2, r; 14 uint32_t c1, c2, r;
15} rxvt_compose_table = { 15} rxvt_compose_table[] = {
16#ifdef ENCODING_COMPOSE 16#ifdef ENCODING_COMPOSE
17EOF 17EOF
18 18
19my %docom = qw(initial | medial | final | isolated | compat | none |); 19my %docom = qw(initial | medial | final | isolated | compat | none |);
20 20
30} 30}
31 31
32for (sort { $a->[0] cmp $b->[0] } @compose) { 32for (sort { $a->[0] cmp $b->[0] } @compose) {
33 next if $seen{$_->[1],$_->[2]}++; 33 next if $seen{$_->[1],$_->[2]}++;
34 printf TABLE " { 0x%05x, 0x%05x, 0x%05x },\n", $_->[1], $_->[2], $_->[3]; 34 printf TABLE " { 0x%05x, 0x%05x, 0x%05x },\n", $_->[1], $_->[2], $_->[3];
35 $count++;
36} 35}
37 36
38 37
39print TABLE <<EOF; 38print TABLE <<EOF;
40#define ENCODING_COMPOSE_COUNT $count
41#else
42#define ENCODING_COMPOSE_COUNT 0
43#endif 39#endif
44}; 40};
45EOF 41EOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines