Workaround is to use c:member instead of cpp:member

.. c:member:: int[10] Spam.hams

Hope this helps

On Wed, Dec 29, 2010 at 8:49 PM, Akira Kitada <akit...@gmail.com> wrote:
> Hello,
>
> Can I mark up a C array with cpp domain?
>
> I tried the following:
>
> .. cpp:member:: int Spam::hams[10]
> .. cpp:member:: int[10] Spam2::hams
>
> but both failed with warnings below:
>
> WARNING: Invalid definition: expected end of definition, got u'[10]'
> [error at 14]
> WARNING: Invalid definition: expected name [error at 3]
>
> Thank you,
> Akira
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to