aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-06-06 22:39:36 +0100
committergingerBill <bill@gingerbill.org>2020-06-06 22:39:36 +0100
commit87a6d695d65b91159aab388a381d411900f5d049 (patch)
treea5e6219e5c0185fe420395fa9898cfe4349b98f6 /src/check_stmt.cpp
parenta89633e3edcb249faf78b977b7633594f6e66067 (diff)
Fix typo in error message
Diffstat (limited to 'src/check_stmt.cpp')
-rw-r--r--src/check_stmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp
index bfca0ae8e..9c2a32b75 100644
--- a/src/check_stmt.cpp
+++ b/src/check_stmt.cpp
@@ -66,7 +66,7 @@ void check_stmt_list(CheckerContext *ctx, Array<Ast *> const &stmts, u32 flags)
case Ast_ExprStmt:
if (is_divigering_stmt(n)) {
- error(n, "Statements after a non-diverging procedure call are never executed");
+ error(n, "Statements after a diverging procedure call are never executed");
}
break;
}