Delete the doc lines the 2026-10-07 panel read as restating their code, and say what gatherFields' index is

This commit is contained in:
2026-10-07 01:49:54 +02:00
committed by Lillem4n
parent 451242bbf9
commit 10dbd471fb
11 changed files with 1 additions and 13 deletions
-2
View File
@@ -99,7 +99,6 @@ func bindNames(root node) error {
return checkEveryNameRead(scopes, read)
}
// checkEveryNameRead refuses a binding of scopes that nothing reads.
func checkEveryNameRead(scopes []*nameScope, read map[*nameBinding]bool) error {
for _, sc := range scopes {
for _, b := range sc.order {
@@ -111,7 +110,6 @@ func checkEveryNameRead(scopes []*nameScope, read map[*nameBinding]bool) error {
return nil
}
// bindAll binds every name t's tokens bind.
func (sc *nameScope) bindAll(t *template, inChoice bool, where string) error {
for _, tok := range t.tokens {
if tok.Kind != grammar.NameBind {