Browse Source

Fix typo in error

gingerBill 7 years ago
parent
commit
1553421e1a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/parser.cpp

+ 1 - 1
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;
 	}