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

This commit is contained in:
Alexander Alekhin
2020-11-13 22:29:14 +00:00
9 changed files with 439 additions and 106 deletions
+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"