fix(parser): diagnose GLOBL and DATA without a symbol name

A bare GLOBL or DATA parsed without a single diagnostic while leaving a
nil Name in the tree, a pointer every downstream tool dereferences; TEXT
keeps a placeholder beside its error for exactly that reason, and GLOBL
and DATA now do the same.  The crashing input enters the corpus.

Assisted-by: GLM 5.3
This commit is contained in:
petrbalvin committed 2026-10-07 13:54:42 +02:00
1 parent 05de774c0a
commit bbe14dd1ab
3 files changed
+49

No files matched your search

@@ -0,0 +1,2 @@
go test fuzz v1
string("DATA")