Issue #8: have BuildLangModel.py add ending newline to generated source.

This commit is contained in:
Jehan 2020-04-22 22:57:25 +02:00
parent 44a50c30ee
commit 98bc2f31ef

View File

@ -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: