mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
remove some whitespace in gSmluaConstants
This commit is contained in:
parent
cf12912bf6
commit
a457f48959
3 changed files with 4147 additions and 4145 deletions
|
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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):
|
||||||
|
|
|
||||||
|
|
@ -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
Loading…
Add table
Reference in a new issue