Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: grit/format/c_format.py

Issue 1413193006: Write newlines at the end of C files. (Closed) Base URL: https://chromium.googlesource.com/external/grit-i18n.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit/format/c_format.py
diff --git a/grit/format/c_format.py b/grit/format/c_format.py
index 06b94393302305ec079c5771725cddab281851e2..5e10b988da9dc126e90b1e97c5d4745194a743e7 100644
--- a/grit/format/c_format.py
+++ b/grit/format/c_format.py
@@ -45,7 +45,7 @@ def Format(root, lang='en', output_dir='.'):
if isinstance(item, message.MessageNode):
yield _FormatMessage(item, lang)
- yield '\n default:\n return 0;\n }\n}'
+ yield '\n default:\n return 0;\n }\n}\n'
def _HexToOct(match):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698