From 87402a87dc08441874fc0d15ba93527cf479a6dc Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 31 Oct 2026 13:54:44 +0100 Subject: td.c: Use "set to" instead of "to" for constants --- src/prc1/td.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/prc1/td.c b/src/prc1/td.c index 2847146..0c455f2 100644 --- a/src/prc1/td.c +++ b/src/prc1/td.c @@ -104,7 +104,7 @@ static int cid(const struct lex *l, struct prv *p) { const struct fn *fn = fn_cur(p); const char *tr = triplet(p); - const struct tk *id = p->stk, *v = p->stk + 3; + const struct tk *id = p->stk, *v = p->stk + 4; const struct stentry *e; const struct type *t = type_find(fn, tr, id->s); struct tdconstant *tdc = p->tdc; @@ -178,7 +178,7 @@ static int cid(const struct lex *l, struct prv *p) static int cnum(const struct lex *l, struct prv *p) { const struct fn *fn = fn_cur(p); - const struct tk *id = p->stk, *num = p->stk + 3; + const struct tk *id = p->stk, *num = p->stk + 4; const char *name = id->s, *tr = triplet(p); const struct stentry *e; struct td *td = fn->td; -- cgit v1.2.3