aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-01-29 21:53:36 +0000
committergingerBill <bill@gingerbill.org>2019-01-29 21:53:36 +0000
commit1aea59a0fc90c7c31998af8aede98c2e80194623 (patch)
tree9829869ddb094d01c16f5aa98887ef45ba0554a1 /src/parser.cpp
parentc6dee52abe3b98f82f584d1faf14a79094e82fec (diff)
Fix typo in parser.cpp
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 448415cfd..ee67db3be 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -1702,7 +1702,7 @@ Ast *parse_operand(AstFile *f, bool lhs) {
} else if (e->kind == Ast_CallExpr) {
if (expr->CallExpr.inlining != ProcInlining_none &&
expr->CallExpr.inlining != pi) {
- syntax_error(expr, "You cannot apply both 'inline' and 'no_inline' to a procedure literal");
+ syntax_error(expr, "You cannot apply both 'inline' and 'no_inline' to a procedure call");
}
expr->CallExpr.inlining = pi;
}