[MIRROR] Gets rid of = new in object defines (#11075)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-06-15 10:25:06 -07:00
committed by GitHub
parent 7872b8bf3c
commit 2653dac7da
30 changed files with 98 additions and 75 deletions

View File

@@ -15,7 +15,7 @@
Var: tokens
A list of tokens in the source code generated by a scanner.
*/
var/list/tokens = new
var/list/tokens = list()
/*
Var: errors
A list of fatal errors found by the parser. If there are any items in this list, then it is not safe to run the returned AST.
@@ -23,12 +23,12 @@
See Also:
- <scriptError>
*/
var/list/errors = new
var/list/errors = list()
/*
Var: warnings
A list of non-fatal problems in the script.
*/
var/list/warnings = new
var/list/warnings = list()
/*
Var: curToken
The token at <index> in <tokens>.