spl

a Simple Programming Language
Log | Files | Refs

commit fdc2e9cd2d9896f9139b04d12489a69cceb9354d
parent 8c3692496f27c44a10ec613d4fc763bb4a278317
Author: thing1 <thing1@seacrossedlovers.xyz>
Date:   Thu, 18 Dec 2025 14:33:51 +0000

added todo

Diffstat:
Mparse.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/parse.c b/parse.c @@ -167,7 +167,9 @@ parsefcall(tok *start, tok *end, mctx *ctx) { tok *exprend; fn *f; int builtin = 1; - + + /* TODO make this check for casts specifically, if the user casts, + * mark it as so, to allow for the comp step to fix everything up */ if (!(f = isbuiltin(start->name, ctx))) { if (!(f = (fn *)lookupmap(funcs, start->name))) { parserErr("no such function");