From 0764c717d87dd4a31a64080b824af5ffae21a5be Mon Sep 17 00:00:00 2001 From: sebaszm Date: Mon, 1 Jun 2026 14:14:21 +0200 Subject: [PATCH] Fix stop in header --- ProxyStubGenerator/CppParser.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ProxyStubGenerator/CppParser.py b/ProxyStubGenerator/CppParser.py index 5ea4e8b9..c26d462f 100755 --- a/ProxyStubGenerator/CppParser.py +++ b/ProxyStubGenerator/CppParser.py @@ -1905,7 +1905,7 @@ def __Tokenize(contents,log = None): if skipmode: if "@_file" in token: skipmode = False - else: + elif token not in ['}', '{', ';']: continue def __ParseParameterValue(string, tag, mandatory=True, append=True, relay=None): @@ -2237,7 +2237,6 @@ def Parse(contents,log = None): omit_next = False stub_next = False object_next = False - autoobject_next = False json_next = False json_version = "" prefix_next = False @@ -2453,8 +2452,6 @@ def Parse(contents,log = None): if json_next: if object_next: object_next = False - if autoobject_next: - autoobject_next = False new_class.is_json = True new_class.json_version = json_version if event_next: @@ -2488,7 +2485,6 @@ def Parse(contents,log = None): json_next = False object_next = False - autoobject_next = False encode_enum_next = False wrap_next = False json_version = "" @@ -2594,7 +2590,6 @@ def Parse(contents,log = None): json_next = False object_next = False - autoobject_next = False encode_enum_next = False text_next = None