mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-18 20:02:22 -07:00
v0.1.3
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user