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

Unified Diff: Source/build/scripts/templates/ElementLookupTrie.cpp.tmpl

Issue 236673002: Simplify whitespace handling in build/ Jinja templates (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: One more FIXME Created 6 years, 8 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
Index: Source/build/scripts/templates/ElementLookupTrie.cpp.tmpl
diff --git a/Source/build/scripts/templates/ElementLookupTrie.cpp.tmpl b/Source/build/scripts/templates/ElementLookupTrie.cpp.tmpl
index 36caa9cbcb954132e0ba75d5a6912405e619e41f..2ceaf75bd206885c04b957358b8c4272bb5978cb 100644
--- a/Source/build/scripts/templates/ElementLookupTrie.cpp.tmpl
+++ b/Source/build/scripts/templates/ElementLookupTrie.cpp.tmpl
@@ -1,4 +1,4 @@
-{% from "macros.tmpl" import license -%}
+{% from "macros.tmpl" import license %}
{{ license() }}
#include "config.h"
@@ -15,7 +15,9 @@ StringImpl* lookup{{namespace}}Tag(const UChar* data, unsigned length)
ASSERT(data);
ASSERT(length);
switch (length) {
-{{body}}
+{{body}}{# FIXME: use indent #}
+{# FIXME: remove blank line #}
+
}
return 0;
}
« no previous file with comments | « Source/build/scripts/templates/ElementFactory.h.tmpl ('k') | Source/build/scripts/templates/ElementTypeHelpers.h.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698