GDScript: Fix and improve annotation parsing

This commit is contained in:
Danil Alexeev 2023-02-09 18:42:22 +03:00
parent afca0b8fdd
commit 5038a336be
No known key found for this signature in database
GPG key ID: 124453E157DA8DC7
5 changed files with 89 additions and 17 deletions

View file

@ -0,0 +1,4 @@
@export_enum("A",, "B", "C") var a
func test():
pass

View file

@ -0,0 +1,2 @@
GDTEST_PARSER_ERROR
Expected expression as the annotation argument.