C, parse attributes

This commit is contained in:
Jakob Lykke Andersen committed 2020-04-13 13:43:26 +02:00
1 parent 39cd463740
commit d4058eb67f
8 files changed
+265 -269

No files matched your search

+24
View File
@@ -2472,6 +2472,30 @@ Options for the XML builder
match any sequence of characters *including* slashes.
.. _c-config:
Options for the C domain
------------------------
.. confval:: c_id_attributes
A list of strings that the parser additionally should accept as attributes.
This can for example be used when attributes have been ``#define`` d for
portability.
.. versionadded:: 3.0
.. confval:: c_paren_attributes
A list of strings that the parser additionally should accept as attributes
with one argument. That is, if ``my_align_as`` is in the list, then
``my_align_as(X)`` is parsed as an attribute for all strings ``X`` that have
balanced braces (``()``, ``[]``, and ``{}``). This can for example be used
when attributes have been ``#define`` d for portability.
.. versionadded:: 3.0
.. _cpp-config:
Options for the C++ domain
+6
View File
@@ -706,6 +706,12 @@ Inline Expressions and Types
.. versionadded:: 3.0
Configuration Variables
~~~~~~~~~~~~~~~~~~~~~~~
See :ref:`c-config`.
.. _cpp-domain:
The C++ Domain