give fmt-c a name for every parameter

fmt-c takes a parameter's name with `cadr', so an unnamed one handed
over bare lost its second word to it: `(* const char)' dropped its
star, and `(int)' had no second word at all.
This commit is contained in:
2026-09-30 13:22:07 +03:00
parent 2b73fcf1c4
commit 2da5b5005b
4 changed files with 66 additions and 14 deletions

View File

@@ -98,7 +98,7 @@ sextest:
SEX_TEST_PROGRAMS = hello-world lists comments unicode serialize features \
feature-flags lambdas compound-literals closures fixpoint \
wildcards inference type-shapes
wildcards inference type-shapes unnamed-params
# Multi-module linking is checked end to end; see tests/modules/Makefile.
check-modules: sexc