diff options
| author | gingerBill <bill@gingerbill.org> | 2018-01-01 22:15:43 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-01-01 22:15:43 +0000 |
| commit | 1553421e1a0980361275cefda35afb4695bc6e87 (patch) | |
| tree | 6c053aa559dbcd75f48049c7ece70ad04195c9af /src/parser.cpp | |
| parent | f3ea109e6f84a5cf1d8943bf797723fed02bd447 (diff) | |
Fix typo in error
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 8c98effe2..5e5fb7ac0 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -3989,7 +3989,7 @@ AstNode *parse_defer_stmt(AstFile *f) { stmt = stmt->DeferStmt.stmt; break; case AstNode_ReturnStmt: - syntax_error(token, "You cannot a return statement"); + syntax_error(token, "You cannot defer a return statement"); break; } |