Support Swift 1.2

This commit is contained in:
Kyle Fuller
2015-06-29 15:21:59 -07:00
parent 0212e8781c
commit 19a7abce4c
23 changed files with 196 additions and 206 deletions

View File

@@ -32,11 +32,11 @@ public class TokenParser {
public init(tokens:[Token]) {
self.tokens = tokens
registerTag("for", ForNode.parse)
registerTag("if", IfNode.parse)
registerTag("ifnot", IfNode.parse_ifnot)
registerTag("now", NowNode.parse)
registerTag("include", IncludeNode.parse)
registerTag("for", parser: ForNode.parse)
registerTag("if", parser: IfNode.parse)
registerTag("ifnot", parser: IfNode.parse_ifnot)
registerTag("now", parser: NowNode.parse)
registerTag("include", parser: IncludeNode.parse)
}
/// Registers a new template tag