Bug 454376 add -lCrun -lCstd for Solaris OS_LIBS, r=bsmedberg
[wine-gecko.git] / intl / chardet / tools / genbig5.pl
blobffad3cc2f013cbc90cd0451fd58dc8d870b68dd5
1 #!/usr/local/bin/perl
2 use strict;
3 require "genverifier.pm";
4 use genverifier;
7 my(@big5_cls);
8 my(@big5_st);
9 my($big5_ver);
12 @big5_cls = (
13 [ 0x00 , 0x00 , 1 ],
14 [ 0x0e , 0x0f , 0 ],
15 [ 0x1b , 0x1b , 0 ],
16 [ 0x01 , 0x3f , 1 ],
17 [ 0x40 , 0x7e , 2 ],
18 [ 0x7f , 0x7f , 1 ],
19 [ 0xff , 0xff , 0 ],
20 [ 0x80 , 0xa0 , 4 ],
21 [ 0xa1 , 0xfe , 3 ],
24 package genverifier;
25 @big5_st = (
26 # 0 1 2 3 4
27 1, 0, 0, 3, 1, # state 0
28 1, 1, 1, 1, 1, # Error State - 1
29 2, 2, 2, 2, 2, # ItsMe State - 2
30 1, 1, 0, 0, 0, # state 3
34 $big5_ver = genverifier::GenVerifier("BIG5", "Big5", \@big5_cls, 5, \@big5_st);
35 print $big5_ver;