From c241e7582926b8455f0be469c6c6505d3fb0250d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 24 Mar 2026 07:11:06 +0100 Subject: [FIX] CompilerKit: Fix syntax checker rule. Signed-off-by: Amlal El Mahrouss --- src/CompilerKit/src/Frontends/NectarCompiler+Chk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/CompilerKit') diff --git a/src/CompilerKit/src/Frontends/NectarCompiler+Chk.cpp b/src/CompilerKit/src/Frontends/NectarCompiler+Chk.cpp index f42ad0a..da7af9a 100644 --- a/src/CompilerKit/src/Frontends/NectarCompiler+Chk.cpp +++ b/src/CompilerKit/src/Frontends/NectarCompiler+Chk.cpp @@ -48,8 +48,8 @@ CK_IMPORT_C bool NectarCheckFrontend(CompilerKit::STLString& input) { } } - if (input.find("(") != CompilerKit::STLString::npos && !input.ends_with(";")) { - if (input.find(":=") == CompilerKit::STLString::npos) { + if (input.find("(") != CompilerKit::STLString::npos) { + if (input.find(";") == CompilerKit::STLString::npos) { Detail::print_error("A function call must always end with ';'", "check"); return false; } -- cgit v1.2.3