You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Fix error on parsing statement-less GDScript files,
add an empty file warning, add relevant tests.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
>> WARNING
|
||||
>> Line: 1
|
||||
>> EMPTY_FILE
|
||||
>> Empty script file.
|
||||
@@ -0,0 +1 @@
|
||||
#a comment
|
||||
@@ -0,0 +1,4 @@
|
||||
>> WARNING
|
||||
>> Line: 1
|
||||
>> EMPTY_FILE
|
||||
>> Empty script file.
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
>> WARNING
|
||||
>> Line: 1
|
||||
>> EMPTY_FILE
|
||||
>> Empty script file.
|
||||
@@ -0,0 +1,4 @@
|
||||
#a comment, followed by a bunch of newlines
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
>> WARNING
|
||||
>> Line: 1
|
||||
>> EMPTY_FILE
|
||||
>> Empty script file.
|
||||
Reference in New Issue
Block a user