fix(format): treat a selector-folded label as naming its macro
The lexer folds NAME.selector into one identifier, and an object macro reached through the selector expands with it travelling along, so a label spelled NAME.selector: restructures exactly like the bare name would. The macro-name checks now resolve the prefix before the first period, and the crashing input joins the corpus. Assisted-by: GLM 5.3
This commit is contained in:
1 parent
f932c5811c
commit
373ec51061
3 files changed
+33
-5
No files matched your search
@@ -0,0 +1,2 @@
|
||||
go test fuzz v1
|
||||
string("#define A B\"\nA.:A0")
|
||||
Reference in new issue
Block a user