Fix typo in parser.cpp

This commit is contained in:
gingerBill
2019-01-29 21:53:36 +00:00
parent c6dee52abe
commit 1aea59a0fc

View File

@@ -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;
}