SDL: Fixed parsing SDL_ANALYZER_NORETURN

From 9cb4bb92f6f65f00658d66e2c88e9e44a28cf176 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 16 Jun 2024 07:08:19 -0700
Subject: [PATCH] Fixed parsing SDL_ANALYZER_NORETURN

---
 src/dynapi/gendynapi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dynapi/gendynapi.py b/src/dynapi/gendynapi.py
index b9c0847b68c3c..09129c0ee53c0 100755
--- a/src/dynapi/gendynapi.py
+++ b/src/dynapi/gendynapi.py
@@ -169,7 +169,7 @@ def main():
             func = func.replace(" SDL_WPRINTF_VARARG_FUNC(3)", "");
             func = func.replace(" SDL_SCANF_VARARG_FUNC(2)", "");
             func = func.replace(" SDL_SCANF_VARARG_FUNCV(2)", "");
-            func = func.replace(" __attribute__((analyzer_noreturn))", "");
+            func = func.replace(" SDL_ANALYZER_NORETURN", "");
             func = func.replace(" SDL_MALLOC", "");
             func = func.replace(" SDL_ALLOC_SIZE2(1, 2)", "");
             func = func.replace(" SDL_ALLOC_SIZE(2)", "");