remove some whitespace in gSmluaConstants

This commit is contained in:
Isaac0-dev 2025-02-24 19:55:43 +10:00
parent cf12912bf6
commit a457f48959
3 changed files with 4147 additions and 4145 deletions

View file

@ -85,7 +85,7 @@ def validate_identifiers(built_files):
for ident in all_identifiers: for ident in all_identifiers:
if ident in pretend_find: if ident in pretend_find:
continue continue
if ident + ' = ' not in built_files: if ident + '=' not in built_files:
print('COULD NOT FIND ' + ident) print('COULD NOT FIND ' + ident)
@ -116,7 +116,7 @@ def allowed_identifier(filename, ident):
if re.search(include, ident) != None: if re.search(include, ident) != None:
return True return True
return False return False
if ident in overrideConstant: if ident in overrideConstant:
return False return False
@ -241,7 +241,7 @@ def build_constant(processed_constant):
constants = [processed_constant] constants = [processed_constant]
for c in constants: for c in constants:
s += '%s = %s\n' % (c[0], c[1].replace('"', "'")) s += '%s=%s\n' % (c[0], c[1].replace('"', "'"))
return s return s
@ -262,7 +262,9 @@ def build_files(processed_files):
def build_to_c(built_files): def build_to_c(built_files):
txt = '' txt = ''
with open(get_path(in_filename), 'r') as f: with open(get_path(in_filename), 'r') as f:
txt = f.read() txt = ''
for line in f.readlines():
txt += line.strip() + '\n'
txt += '\n' + built_files txt += '\n' + built_files
while ('\n\n' in txt): while ('\n\n' in txt):

View file

@ -12526,7 +12526,7 @@ MINOR_VERSION_NUMBER = 1
SM64COOPDX_VERSION = "v1.2.1" SM64COOPDX_VERSION = "v1.2.1"
--- @type integer --- @type integer
VERSION_NUMBER = 38 VERSION_NUMBER = 39
--- @type string --- @type string
VERSION_TEXT = "v" VERSION_TEXT = "v"

File diff suppressed because it is too large Load diff