Fix error on parsing statement-less GDScript files,
add an empty file warning, add relevant tests.
This commit is contained in:
parent
bb0122c933
commit
e99730340b
13 changed files with 57 additions and 4 deletions
|
|
@ -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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue