This commit is contained in:
Ginger Bill
2017-03-27 20:32:36 +01:00
parent 188b290dd5
commit a75ccb6fbc
10 changed files with 338 additions and 199 deletions
+1 -1
View File
@@ -3366,7 +3366,7 @@ AstNode *parse_stmt(AstFile *f) {
_SET_LABEL(MatchStmt, label);
_SET_LABEL(TypeMatchStmt, label);
default:
syntax_error(token, "#label may only be applied to a loop");
syntax_error(token, "#label cannot only be applied to a loop or match statement");
break;
}
#undef _SET_LABEL