Browse Source

Fix typo in parser.cpp

gingerBill 6 years ago
parent
commit
1aea59a0fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/parser.cpp

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