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/build.h | 2 +- src/core/token.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/build.h b/src/build.h index 9125e92..5029024 100644 --- a/src/build.h +++ b/src/build.h @@ -36,7 +36,7 @@ #ifndef BUILD_H #define BUILD_H -#define BUILDNR 9680 +#define BUILDNR 9682 #define OS_LINUX #endif 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