fix missing/extraneous newline

This commit is contained in:
Emil Tsalapatis 2024-11-06 12:52:10 -08:00
parent 42880404e1
commit 7d44511422
4 changed files with 4 additions and 7 deletions

View File

@ -1,4 +1,3 @@
/* /*
* WARNING: This file is autogenerated from scripts/gen_enums.py. If you would * WARNING: This file is autogenerated from scripts/gen_enums.py. If you would
* like to access an enum that is currently missing, add it to the script * like to access an enum that is currently missing, add it to the script
@ -121,4 +120,4 @@ macro_rules! import_enums {
$skel.maps.rodata_data.__SCX_ENQ_CLEAR_OPSS = scx_enums.SCX_ENQ_CLEAR_OPSS; $skel.maps.rodata_data.__SCX_ENQ_CLEAR_OPSS = scx_enums.SCX_ENQ_CLEAR_OPSS;
$skel.maps.rodata_data.__SCX_ENQ_DSQ_PRIQ = scx_enums.SCX_ENQ_DSQ_PRIQ; $skel.maps.rodata_data.__SCX_ENQ_DSQ_PRIQ = scx_enums.SCX_ENQ_DSQ_PRIQ;
}}; }};
} }

View File

@ -1,4 +1,3 @@
/* /*
* WARNING: This file is autogenerated from scripts/gen_enums.py. If you would * WARNING: This file is autogenerated from scripts/gen_enums.py. If you would
* like to access an enum that is currently missing, add it to the script * like to access an enum that is currently missing, add it to the script

View File

@ -1,4 +1,3 @@
/* /*
* WARNING: This file is autogenerated from scripts/gen_enums.py. If you would * WARNING: This file is autogenerated from scripts/gen_enums.py. If you would
* like to access an enum that is currently missing, add it to the script * like to access an enum that is currently missing, add it to the script

View File

@ -2,8 +2,8 @@
from pathlib import Path from pathlib import Path
warning = """ warning = \
/* """/*
* WARNING: This file is autogenerated from scripts/gen_enums.py. If you would * WARNING: This file is autogenerated from scripts/gen_enums.py. If you would
* like to access an enum that is currently missing, add it to the script * like to access an enum that is currently missing, add it to the script
* and run it from the root directory to update this file. * and run it from the root directory to update this file.
@ -106,7 +106,7 @@ def gen_enums_rs():
f.write(" $skel.maps.rodata_data.{} = scx_enums.{};\n".format(localvar(symbol), symbol)) f.write(" $skel.maps.rodata_data.{} = scx_enums.{};\n".format(localvar(symbol), symbol))
f.write(" }};\n") f.write(" }};\n")
f.write("}") f.write("}\n")
""" """