Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
iMichka committed Mar 2, 2025
1 parent 92bbcbb commit d0e2fd7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/pygccxml/parser/project_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,11 @@ def read_xml(self, file_configuration):
@staticmethod
def _join_top_namespaces(main_ns_list, other_ns_list):
answer = main_ns_list[:]
for n in main_ns_list:
print("_join_top_namespaces", n, n.name)
print("--------------")
for other_ns in other_ns_list:
print("_join_top_namespaces", other_ns, other_ns.name)
main_ns = pygccxml.declarations.find_declaration(
answer,
decl_type=pygccxml.declarations.namespace_t,
Expand Down
4 changes: 2 additions & 2 deletions src/pygccxml/parser/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ def __init__(self, xml_file, decl_factory, config, *args):

self.__xml_generator_from_xml_file = None

with open(self.xml_file, "r") as f:
print(f.read())
# with open(self.xml_file, "r") as f:
# print(f.read())

@property
def xml_generator_from_xml_file(self):
Expand Down

0 comments on commit d0e2fd7

Please sign in to comment.