summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchintu3536 <teja3536mani@gmail.com>2020-10-07 17:26:51 +0530
committerchintu3536 <teja3536mani@gmail.com>2020-10-07 17:26:51 +0530
commit83a1f0f38c794742aae379f19593574faf5ed22c (patch)
tree794cf130c478601cead9e4474b1ec9645bf21e19
parent733c36ad80f6c1e2f7874eb83aeafc79df019995 (diff)
downloadswig-83a1f0f38c794742aae379f19593574faf5ed22c.tar.gz
Sphinx doc corrections - Preprocessor.rst [skip-ci]
-rw-r--r--SphinxDocs/source/Manual/Preprocessor.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/SphinxDocs/source/Manual/Preprocessor.rst b/SphinxDocs/source/Manual/Preprocessor.rst
index 0b58f4b33..b028d23ec 100644
--- a/SphinxDocs/source/Manual/Preprocessor.rst
+++ b/SphinxDocs/source/Manual/Preprocessor.rst
@@ -156,14 +156,14 @@ More complex macros can be defined in the standard way. For example:
The following operators can appear in macro definitions:
- ``#x``
- Converts macro argument ``x`` to a string surrounded by double quotes
- ("x").
+
+ Converts macro argument ``x`` to a string surrounded by double quotes ("x").
- ``x ## y``
+
Concatenates x and y together to form ``xy``.
- :literal:`\`x\``
- If ``x`` is a string surrounded by double quotes, do nothing.
- Otherwise, turn into a string like ``#x``. This is a non-standard
- SWIG extension.
+
+ If ``x`` is a string surrounded by double quotes, do nothing. Otherwise, turn into a string like ``#x``. This is a non-standard SWIG extension.
SWIG Macros
----------------
@@ -197,7 +197,7 @@ SWIG provides an enhanced macro capability with the ``%define`` and
The primary purpose of ``%define`` is to define large macros of code.
Unlike normal C preprocessor macros, it is not necessary to terminate
-each line with a continuation character (\)--the macro definition
+each line with a continuation character (``\``)--the macro definition
extends to the first occurrence of ``%enddef``. Furthermore, when such
macros are expanded, they are reparsed through the C preprocessor. Thus,
SWIG macros can contain all other preprocessor directives except for