|
|
|
@ -7,7 +7,7 @@ import logging |
|
|
|
|
logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.INFO) |
|
|
|
|
|
|
|
|
|
if len (sys.argv) != 2: |
|
|
|
|
print("usage: ./gen-ucd-table ucd.nonunihan.grouped.xml", file=sys.stderr) |
|
|
|
|
print("usage: ./gen-ucd-table ucd.nounihan.grouped.xml", file=sys.stderr) |
|
|
|
|
sys.exit(1) |
|
|
|
|
|
|
|
|
|
# https://github.com/harfbuzz/packtab |
|
|
|
@ -90,7 +90,7 @@ print("/* == Start of generated table == */") |
|
|
|
|
print("/*") |
|
|
|
|
print(" * The following table is generated by running:") |
|
|
|
|
print(" *") |
|
|
|
|
print(" * ./gen-ucd-table.py ucd.nonunihan.grouped.xml") |
|
|
|
|
print(" * ./gen-ucd-table.py ucd.nounihan.grouped.xml") |
|
|
|
|
print(" *") |
|
|
|
|
print(" * on file with this description:", ucdxml.description) |
|
|
|
|
print(" */") |
|
|
|
|