fix(lint): guard unnamed TEXT and refresh the textflag table

This commit is contained in:
2026-09-14 18:22:00 +02:00
parent 953c258d6a
commit e307bf830f
4 changed files with 28 additions and 27 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ var amd64WordNames = map[string]string{
// nonportableRegister maps a gasm-only register alias to the canonical go
// tool asm spelling. R or E followed by a canonical word name is the only
// alias family; R8–R15 are already canonical.
// alias family; R8-R15 are already canonical.
func nonportableRegister(name string) (string, bool) {
up := strings.ToUpper(name)
if len(up) != 3 {