OLD | NEW |
1 {% from "macros.tmpl" import license -%} | 1 {% from "macros.tmpl" import license %} |
2 {{ license() }} | 2 {{ license() }} |
3 | 3 |
4 #include "config.h" | 4 #include "config.h" |
5 #include "{{namespace}}ElementLookupTrie.h" | 5 #include "{{namespace}}ElementLookupTrie.h" |
6 | 6 |
7 #include "{{namespace}}Names.h" | 7 #include "{{namespace}}Names.h" |
8 | 8 |
9 namespace WebCore { | 9 namespace WebCore { |
10 | 10 |
11 using namespace {{namespace}}Names; | 11 using namespace {{namespace}}Names; |
12 | 12 |
13 StringImpl* lookup{{namespace}}Tag(const UChar* data, unsigned length) | 13 StringImpl* lookup{{namespace}}Tag(const UChar* data, unsigned length) |
14 { | 14 { |
15 ASSERT(data); | 15 ASSERT(data); |
16 ASSERT(length); | 16 ASSERT(length); |
17 switch (length) { | 17 switch (length) { |
18 {{body}} | 18 {{body}}{# FIXME: use indent #} |
| 19 {# FIXME: remove blank line #} |
| 20 |
19 } | 21 } |
20 return 0; | 22 return 0; |
21 } | 23 } |
22 | 24 |
23 } // WebCore | 25 } // WebCore |
OLD | NEW |