Skip to content

Commit

Permalink
C domain: Fix namespace-pop context (#11935)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Feb 3, 2024
1 parent 41ab0f9 commit 9faf114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/domains/c/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def run(self) -> list[Node]:
symbol = self.env.domaindata['c']['root_symbol']
self.env.temp_data['c:parent_symbol'] = symbol
self.env.temp_data['c:namespace_stack'] = stack
self.env.ref_context['cp:parent_key'] = symbol.get_lookup_key()
self.env.ref_context['c:parent_key'] = symbol.get_lookup_key()
return []


Expand Down

0 comments on commit 9faf114

Please sign in to comment.