pattern: add tokens used by ast.BranchStmt
@@ -55,6 +55,10 @@ var tokensByString = map[string]Token{
"VAR": Token(token.VAR),
"TYPE": Token(token.TYPE),
"CONST": Token(token.CONST),
+ "BREAK": Token(token.BREAK),
+ "CONTINUE": Token(token.CONTINUE),
+ "GOTO": Token(token.GOTO),
+ "FALLTHROUGH": Token(token.FALLTHROUGH),
}
func maybeToken(node Node) (Node, bool) {
