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

Unified Diff: grit/node/mapping.py

Issue 11155024: If-then-else support for GRIT (Closed) Base URL: https://grit-i18n.googlecode.com/svn/trunk
Patch Set: comments Created 8 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 | « grit/node/empty.py ('k') | grit/node/misc.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit/node/mapping.py
diff --git a/grit/node/mapping.py b/grit/node/mapping.py
index 635badee9b256251b7f813b2cb51fa68caf23ee9..259be97c6b28d6eb403156512831f86254510e0e 100644
--- a/grit/node/mapping.py
+++ b/grit/node/mapping.py
@@ -33,11 +33,13 @@ _ELEMENT_TO_CLASS = {
'ex' : message.ExNode,
'message' : message.MessageNode,
'ph' : message.PhNode,
+ 'else' : misc.ElseNode,
'grit' : misc.GritNode,
'identifier' : misc.IdentifierNode,
'if' : misc.IfNode,
'part' : misc.PartNode,
'release' : misc.ReleaseNode,
+ 'then' : misc.ThenNode,
'structure' : structure.StructureNode,
'skeleton' : variant.SkeletonNode,
}
« no previous file with comments | « grit/node/empty.py ('k') | grit/node/misc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698