mirror of
https://github.com/opencv/opencv.git
synced 2026-10-04 04:03:29 +03:00
Merge branch 4.x
This commit is contained in:
commit
0fbd58bef9
324 files changed
+34981
-9802
No files matched your search
@@ -1013,7 +1013,7 @@ class CppHeaderParser(object):
|
||||
docstring = ""
|
||||
if stmt_type == "namespace":
|
||||
chunks = [block[1] for block in self.block_stack if block[0] == 'namespace'] + [name]
|
||||
self.namespaces.add('.'.join(chunks))
|
||||
self.namespaces.add('.'.join(filter(lambda c: len(c)> 0, chunks)))
|
||||
else:
|
||||
stmt_type, name, parse_flag = "block", "", False
|
||||
|
||||
|
||||
Reference in new issue
Block a user