From 32764b0720535ea2a7a80519c68f422ec51601cb Mon Sep 17 00:00:00 2001 From: Marco Capano Date: Tue, 4 Sep 2018 22:26:29 +0200 Subject: [PATCH] Add support for continue, fallthrough and repeat This PR introduces new keywords in SwiftGrammar --- Sources/Splash/Grammar/SwiftGrammar.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/Splash/Grammar/SwiftGrammar.swift b/Sources/Splash/Grammar/SwiftGrammar.swift index b6110ef..f674f2d 100644 --- a/Sources/Splash/Grammar/SwiftGrammar.swift +++ b/Sources/Splash/Grammar/SwiftGrammar.swift @@ -47,7 +47,8 @@ private extension SwiftGrammar { "super", "self", "set", "true", "false", "nil", "override", "where", "_", "default", "break", "#selector", "required", "willSet", "didSet", - "lazy", "subscript", "defer" + "lazy", "subscript", "defer", "continue", + "fallthrough", "repeat" ] struct PreprocessingRule: SyntaxRule {