Issue #15 open

Cannot define Exception in a namespace

Benoît Ryder
created an issue

Build fails when attempting to define an exception in a namespace. For instance: {{{ .. php:namespace:: MyNs .. php:exception:: MyError }}}

The following patch should to fix the issue: {{{ --- phpdomain.orig.py 2011-05-17 16:51:20.000000000 +0200 +++ phpdomain.py 2011-05-17 16:51:52.000000000 +0200 @@ -386,6 +387,7 @@ noindex = 'noindex' in self.options env.temp_data['php:namespace'] = modname env.temp_data['php:class'] = None + env.temp_data['php:in_class'] = None env.domaindata['php']['namespaces'][modname] = ( env.docname, self.options.get('synopsis', ''), 'deprecated' in self.options) }}}

Comments (1)

  1. Log in to comment