Skip to content

Commit d0e2fd7

Browse files
committed
debug
1 parent 92bbcbb commit d0e2fd7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/pygccxml/parser/project_reader.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,11 @@ def read_xml(self, file_configuration):
419419
@staticmethod
420420
def _join_top_namespaces(main_ns_list, other_ns_list):
421421
answer = main_ns_list[:]
422+
for n in main_ns_list:
423+
print("_join_top_namespaces", n, n.name)
424+
print("--------------")
422425
for other_ns in other_ns_list:
426+
print("_join_top_namespaces", other_ns, other_ns.name)
423427
main_ns = pygccxml.declarations.find_declaration(
424428
answer,
425429
decl_type=pygccxml.declarations.namespace_t,

src/pygccxml/parser/scanner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ def __init__(self, xml_file, decl_factory, config, *args):
209209

210210
self.__xml_generator_from_xml_file = None
211211

212-
with open(self.xml_file, "r") as f:
213-
print(f.read())
212+
# with open(self.xml_file, "r") as f:
213+
# print(f.read())
214214

215215
@property
216216
def xml_generator_from_xml_file(self):

0 commit comments

Comments
 (0)