/[emacs]/emacs/etc/charsets/gb18030.awk
ViewVC logotype

Diff of /emacs/etc/charsets/gb18030.awk

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.1 by handa, Tue May 7 04:47:34 2002 UTC revision 1.1.2.2 by handa, Wed May 8 23:32:27 2002 UTC
# Line 69  function printline(from, to) { Line 69  function printline(from, to) {
69    
70  END {  END {
71    lastgb = 0;    lastgb = 0;
72    surrogate_min = decode_hex("D800")    surrogate_min = decode_hex("D800");
73    surrogate_max = decode_hex("DFFF")    surrogate_max = decode_hex("DFFF");
74      lastgb = unitable[128];
75      gbtable[lastgb] = 128;
76    for (i = 129; i < 65536; i++)    for (i = 129; i < 65536; i++)
77      {      {
78        if (unitable[i] == 0 && (i < surrogate_min || i > surrogate_max))        if (unitable[i] == 0 && (i < surrogate_min || i > surrogate_max))
# Line 86  END { Line 88  END {
88          }          }
89      }      }
90    
   print "You blew it again!" > "/dev/stderr"  
91    fromgb = lastgb = unitable[128];    fromgb = lastgb = unitable[128];
92    for (i = 129; i < 65536; i++)    for (i = 129; i < 65536; i++)
93      {      {

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26