From 03b874818315e7dc9fb2ccf26716a0fb65242a57 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 19 Feb 2026 10:20:11 +0200 Subject: Rename func keyword to fun Replace the `func` language keyword with `fun` throughout: update the scanner's string-to-token mapping, all .fy example scripts, and all documentation files (.txt, .pod, .tex, .man, .html). Co-Authored-By: Claude Sonnet 4.6 --- src/core/token.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/token.c b/src/core/token.c index ea72a82..17f98b2 100644 --- a/src/core/token.c +++ b/src/core/token.c @@ -59,7 +59,7 @@ get_tt(char *c_token) { CHECK("ret") TT_RET; CHECK("const") TT_CONST; CHECK("proc") TT_PROC; - CHECK("func") TT_FUNC; + CHECK("fun") TT_FUNC; CHECK("my") TT_MY; CHECK("arr") TT_ARR; CHECK("!") TT_NOT; -- cgit v1.2.3