Fixed crash when parsing an empty assignment.

Resolves #51620.
This commit is contained in:
Louis Dumont
2021-08-25 18:32:24 +02:00
parent ee4a8e6a85
commit 79578a5625
3 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
func test():
var a = 0
a =

View File

@@ -0,0 +1,2 @@
GDTEST_PARSER_ERROR
Expected an expression after "=".