Skip to content

Commit

Permalink
Cleanup in DomainDirectiveFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobandersen committed Apr 22, 2020
1 parent fe262c5 commit e61386e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions breathe/renderer/sphinxrenderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,9 @@ class DomainDirectiveFactory(object):
@staticmethod
def create(domain, args):
if domain == 'c':
if args[0] not in DomainDirectiveFactory.c_classes:
print("Unknown C directive:", args[0])
print("args:", args)
cls, name = DomainDirectiveFactory.c_classes[args[0]]
args[1] = [n.replace('::', '.') for n in args[1]]
elif domain == 'py':
cls, name = DomainDirectiveFactory.python_classes[args[0]]
args[1] = [n.replace('::', '.') for n in args[1]]
elif php is not None and domain == 'php':
separators = php.separators
arg_0 = args[0]
Expand Down

0 comments on commit e61386e

Please sign in to comment.