/[pcre]/code/trunk/maint/GenerateUtt.py
ViewVC logotype

Diff of /code/trunk/maint/GenerateUtt.py

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

revision 942 by ph10, Tue Feb 28 14:50:31 2012 UTC revision 1050 by chpe, Sun Sep 30 18:20:10 2012 UTC
# Line 16  Line 16 
16  # Modified by PH 01-March-2010 to add new scripts for Unicode 5.2.0.  # Modified by PH 01-March-2010 to add new scripts for Unicode 5.2.0.
17  # Modified by PH 04-May-2010 to add new "X.." special categories.  # Modified by PH 04-May-2010 to add new "X.." special categories.
18  # Modified by PH 30-April-2011 to add new scripts for Unicode 6.0.0  # Modified by PH 30-April-2011 to add new scripts for Unicode 6.0.0
19    # Modified by ChPe 30-September-2012 to add this note; no other changes were
20    # necessary for Unicode 6.2.0 support.
21    
22  script_names = ['Arabic', 'Armenian', 'Bengali', 'Bopomofo', 'Braille', 'Buginese', 'Buhid', 'Canadian_Aboriginal', \  script_names = ['Arabic', 'Armenian', 'Bengali', 'Bopomofo', 'Braille', 'Buginese', 'Buhid', 'Canadian_Aboriginal', \
23   'Cherokee', 'Common', 'Coptic', 'Cypriot', 'Cyrillic', 'Deseret', 'Devanagari', 'Ethiopic', 'Georgian', \   'Cherokee', 'Common', 'Coptic', 'Cypriot', 'Cyrillic', 'Deseret', 'Devanagari', 'Ethiopic', 'Georgian', \
# Line 101  for utt in utt_table: Line 103  for utt in utt_table:
103                  value = 'ucp_' + utt[0]                  value = 'ucp_' + utt[0]
104          if utt == utt_table[-1]:          if utt == utt_table[-1]:
105                  last = ''                  last = ''
106          print '  { %3d, %s, %s }%s ' % (offset, utt[1], value, last)          print '  { %3d, %s, %s }%s' % (offset, utt[1], value, last)
107          offset += len(utt[0]) + 1          offset += len(utt[0]) + 1
108  print '};'  print '};'

Legend:
Removed from v.942  
changed lines
  Added in v.1050

  ViewVC Help
Powered by ViewVC 1.1.5