Switch to Swift 2.0

This commit is contained in:
Kyle Fuller
2015-09-08 18:42:54 -07:00
parent c1a485c429
commit dcf2611ac2
21 changed files with 162 additions and 171 deletions

View File

@@ -69,7 +69,7 @@ public class TokenParser {
nodes.append(TextNode(text: text))
case .Variable(let variable):
nodes.append(VariableNode(variable: variable))
case .Block(let value):
case .Block:
let tag = token.components().first
if let parse_until = parse_until {
@@ -89,7 +89,7 @@ public class TokenParser {
}
}
}
case .Comment(let value):
case .Comment:
continue
}
}