/[pcre]/code/trunk/maint/ucptest.c
ViewVC logotype

Diff of /code/trunk/maint/ucptest.c

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

revision 1011 by ph10, Sat Aug 25 11:36:15 2012 UTC revision 1045 by ph10, Sun Sep 23 16:50:00 2012 UTC
# Line 56  int fulltype = UCD_CHARTYPE(c); Line 56  int fulltype = UCD_CHARTYPE(c);
56  int script = UCD_SCRIPT(c);  int script = UCD_SCRIPT(c);
57  int gbprop = UCD_GRAPHBREAK(c);  int gbprop = UCD_GRAPHBREAK(c);
58  int othercase = UCD_OTHERCASE(c);  int othercase = UCD_OTHERCASE(c);
59    int caseset = UCD_CASESET(c);
60    
61  unsigned char *fulltypename = US"??";  unsigned char *fulltypename = US"??";
62  unsigned char *typename = US"??";  unsigned char *typename = US"??";
# Line 236  switch(script) Line 237  switch(script)
237    }    }
238    
239  printf("%04x %s: %s, %s, %s", c, typename, fulltypename, scriptname, graphbreak);  printf("%04x %s: %s, %s, %s", c, typename, fulltypename, scriptname, graphbreak);
240  if (othercase != c) printf(", %04x", othercase);  if (othercase != c)
241      {
242      printf(", %04x", othercase);
243      if (caseset != 0)
244        {
245        const pcre_uint32 *p = PRIV(ucd_caseless_sets) + caseset - 1;
246        while (*(++p) < NOTACHAR)
247          if (*p != othercase && *p != c) printf(", %04x", *p);
248        }
249      }
250  printf("\n");  printf("\n");
251  }  }
252    

Legend:
Removed from v.1011  
changed lines
  Added in v.1045

  ViewVC Help
Powered by ViewVC 1.1.5