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:
1 parent
05de774c0a
commit
bbe14dd1ab
3 files changed
+49
No files matched your search
@@ -0,0 +1,2 @@
|
||||
go test fuzz v1
|
||||
string("DATA")
|
||||
Reference in new issue
Block a user