Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions ProxyStubGenerator/CppParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1905,7 +1905,8 @@ def __Tokenize(contents,log = None):
if skipmode:
if "@_file" in token:
skipmode = False
else:
elif token not in ['}', '{', ';']:
# ensure brackets are closed
continue

def __ParseParameterValue(string, tag, mandatory=True, append=True, relay=None):
Expand Down Expand Up @@ -2237,7 +2238,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
Expand Down Expand Up @@ -2453,8 +2453,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:
Expand Down Expand Up @@ -2488,7 +2486,6 @@ def Parse(contents,log = None):

json_next = False
object_next = False
autoobject_next = False
encode_enum_next = False
wrap_next = False
json_version = ""
Expand Down Expand Up @@ -2594,7 +2591,6 @@ def Parse(contents,log = None):

json_next = False
object_next = False
autoobject_next = False
encode_enum_next = False
text_next = None

Expand Down
Loading