Permalink
Browse files

update scripts

  • Loading branch information...
1 parent c36fa19 commit cf2720093fe3fae20d2c8378345d2c1c6d970815 @epico committed Nov 1, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −1 scripts/Makefile.data
  2. +1 −0 scripts/utils.py
View
@@ -5,7 +5,7 @@ pinyins.txt:
python3 genpinyins.py
-update-header:
+update-header: pinyins.txt
python3 genpinyinheader.py > ../src/storage/pinyin_parser_table.h
python3 gendoublepinyinheader.py > ../src/storage/double_pinyin_table.h
python3 genbopomofoheader.py > ../src/storage/chewing_table.h
View
@@ -39,3 +39,4 @@ def expand_file(filename, get_table_content):
print(get_table_content(tablename))
else:
print(line)
+ infile.close()

0 comments on commit cf27200

Please sign in to comment.