Add support for continue, fallthrough and repeat

This PR introduces new keywords in SwiftGrammar
This commit is contained in:
Marco Capano 2018-09-04 22:26:29 +02:00 committed by GitHub
parent 187effae29
commit 32764b0720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,8 @@ private extension SwiftGrammar {
"super", "self", "set", "true", "false", "nil", "super", "self", "set", "true", "false", "nil",
"override", "where", "_", "default", "break", "override", "where", "_", "default", "break",
"#selector", "required", "willSet", "didSet", "#selector", "required", "willSet", "didSet",
"lazy", "subscript", "defer" "lazy", "subscript", "defer", "continue",
"fallthrough", "repeat"
] ]
struct PreprocessingRule: SyntaxRule { struct PreprocessingRule: SyntaxRule {