mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-06 16:56:40 +08:00
Issue #8: have BuildLangModel.py add ending newline to generated source.
This commit is contained in:
parent
44a50c30ee
commit
98bc2f31ef
@ -518,6 +518,7 @@ for charset in charsets:
|
||||
SM_str += '\n};'
|
||||
c_code += SM_str
|
||||
|
||||
c_code += '\n'
|
||||
|
||||
lang_model_file = current_dir + '/../src/LangModels/Lang{}Model.cpp'.format(language_c)
|
||||
with open(lang_model_file, 'w') as cpp_fd:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user