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

Unified Diff: grit/node/misc.py

Issue 9924009: Add c_format as a format option. (Closed) Base URL: https://grit-i18n.googlecode.com/svn/trunk
Patch Set: Created 8 years, 9 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 | « grit/node/message.py ('k') | grit/test_suite_all.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit/node/misc.py
diff --git a/grit/node/misc.py b/grit/node/misc.py
index 52a5fd7c47bd70f8d31a004af192661912679cb5..c6147b46b7069bf02893ed79608a64703505477e 100644
--- a/grit/node/misc.py
+++ b/grit/node/misc.py
@@ -298,6 +298,9 @@ class GritNode(base.Node):
elif t in ['rc_all', 'rc_translateable', 'rc_nontranslateable']:
from grit.format import rc # avoid circular dep
return rc.TopLevel()
+ elif t == 'c_format':
+ from grit.format import c_format
+ return c_format.TopLevel()
elif t == 'resource_map_header':
from grit.format import resource_map
return resource_map.HeaderTopLevel()
« no previous file with comments | « grit/node/message.py ('k') | grit/test_suite_all.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698