Merge remote-tracking branch 'upstream/3.4' into merge-3.4

This commit is contained in:
Alexander Alekhin committed 2020-11-13 22:29:14 +00:00
commit a7c150ec66
9 files changed
+439 -106

No files matched your search

+4
View File
@@ -663,6 +663,10 @@ class CppHeaderParser(object):
stack_top = self.block_stack[-1]
context = stack_top[self.BLOCK_TYPE]
if stmt.startswith('inline namespace'):
# emulate anonymous namespace
return "namespace", "", True, None
stmt_type = ""
if end_token == "{":
stmt_type = "block"