mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
C++, oops
This commit is contained in:
parent
c85e60a5ac
commit
9ec75826af
@ -4090,7 +4090,7 @@ class CPPNamespaceObject(Directive):
|
||||
symbol = rootSymbol
|
||||
stack = []
|
||||
else:
|
||||
parser = DefinitionParser(self.arguments[0], self)
|
||||
parser = DefinitionParser(self.arguments[0], self, env.config)
|
||||
try:
|
||||
ast = parser.parse_namespace_object()
|
||||
parser.assert_end()
|
||||
@ -4119,7 +4119,7 @@ class CPPNamespacePushObject(Directive):
|
||||
env = self.state.document.settings.env
|
||||
if self.arguments[0].strip() in ('NULL', '0', 'nullptr'):
|
||||
return
|
||||
parser = DefinitionParser(self.arguments[0], self)
|
||||
parser = DefinitionParser(self.arguments[0], self, env.config)
|
||||
try:
|
||||
ast = parser.parse_namespace_object()
|
||||
parser.assert_end()
|
||||
|
Loading…
Reference in New Issue
Block a user