Skip to content

Commit

Permalink
RSN Parser: Fixed RSN parser generation output (close #201) (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikhailGorobets authored Nov 21, 2023
1 parent 61911fb commit e4fcc51
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion RenderStateNotation/scripts/cxx_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def find_all_fields(cursor: Cursor, bitwise_enum, base_structs) -> typing.Iterab
for node in field_declarations:
expression = replace_raw_type(node.type.spelling)
cxx_type = node.type.get_named_type() if node.kind == TypeKind.ELABORATED else node.type
print(expression)
if (re.match(CXX_PATTERN_STRING, cxx_type.spelling)) is not None:
result.append({'name': node.displayname, 'type': cxx_type.spelling, 'meta': 'string'})
elif (cxx_type.kind == TypeKind.POINTER) and (re.match(CXX_PATTERN_INTERFACE, cxx_type.spelling) is not None):
Expand Down

0 comments on commit e4fcc51

Please sign in to comment.