From 9f721d492a19ed92f099602c450576935eb00b46 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 10 Jan 2023 15:25:48 -0800 Subject: [PATCH] Catch SDL_opengles2.h in rename_headers.py --- build-scripts/rename_headers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/rename_headers.py b/build-scripts/rename_headers.py index 5359c6db3..def94fce8 100755 --- a/build-scripts/rename_headers.py +++ b/build-scripts/rename_headers.py @@ -12,7 +12,7 @@ def main(): ( re.compile(r"(?:[\"<])(?:SDL2/)?SDL_gamecontroller.h(?:[\">])"), r"" ), ( re.compile(r"(?:[\"<])(?:SDL2/)?begin_code.h(?:[\">])"), r"" ), ( re.compile(r"(?:[\"<])(?:SDL2/)?close_code.h(?:[\">])"), r"" ), - ( re.compile(r"(?:[\"<])(?:SDL2/)?(SDL[_a-z]*\.h)(?:[\">])"), r"" ) + ( re.compile(r"(?:[\"<])(?:SDL2/)?(SDL[_a-z0-9]*\.h)(?:[\">])"), r"" ) ] for entry in args.args: path = pathlib.Path(entry)