aboutsummaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.c b/src/parser.c
index a41fc5c06..fbedb3855 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -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