diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-03-27 20:32:36 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-03-27 20:32:36 +0100 |
| commit | a75ccb6fbc529d2fee00f9b456ca7c0c830548ee (patch) | |
| tree | cbe963045fb415f9470c0a84fbdbbe6e75f350ff /src/parser.c | |
| parent | 188b290dd50664aa8a89955ac2ab7dbebf7a653d (diff) | |
v0.1.3v0.1.3
Diffstat (limited to 'src/parser.c')
| -rw-r--r-- | src/parser.c | 2 |
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 |