tell an array's bound by the shape of its type

Whether a trailing name was the bound hinged on the word before it
being a typedef Sex had seen, which a header's pthread_t never is, and
a grouped (* T) never is either: [pthread-t N] became a two-word type.

Fixes #56, #60.
This commit is contained in:
2026-10-09 15:55:33 +03:00
parent 8d1c12d03b
commit 3701aeab3f
5 changed files with 41 additions and 23 deletions

View File

@@ -42,7 +42,6 @@
type-head?
named-arg?
typedef-name?
array-bound?
array-element-type)
"../types.scm")