aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-06-16 20:26:38 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-06-16 20:44:15 +0200
commit1b31044203e662aaeb9f1e5b1d2e36a40016de27 (patch)
treecfde246b8534dc946b3e9ffe199d8c584232ec01
parent2bf23b46328bf623cf3a2e5b1c3d4c1c9cd2fe6e (diff)
downloadsparse-1b31044203e662aaeb9f1e5b1d2e36a40016de27.tar.gz
doc: fix markup in types.rst (s/```/``/)
Literal text was marked with ``` but that's a bit excessive. Fix that by replacing these with ``. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r--Documentation/types.rst18
1 files changed, 9 insertions, 9 deletions
diff --git a/Documentation/types.rst b/Documentation/types.rst
index 5c10725f..272f32a0 100644
--- a/Documentation/types.rst
+++ b/Documentation/types.rst
@@ -30,16 +30,16 @@ Some bits, also related to the type, are in struct symbol itself:
* accessed
* transparent_union
-* ```base_type``` is used for the associated base type.
-* ```modifiers``` is a bit mask for type specifiers (MOD_UNSIGNED, ...),
+* ``base_type`` is used for the associated base type.
+* ``modifiers`` is a bit mask for type specifiers (MOD_UNSIGNED, ...),
type qualifiers (MOD_CONST, MOD_VOLATILE),
storage classes (MOD_STATIC, MOD_EXTERN, ...), as well for various
attributes. It's also used internally to keep track of some states
(MOD_ACCESS or MOD_ADDRESSABLE).
-* ```alignment``` is used for the alignment, in bytes.
-* ```contexts``` is used to store the informations associated with the
- attribute ```context()```.
-* ```as``` is used to hold the identifier of the attribute ```address_space()```.
+* ``alignment`` is used for the alignment, in bytes.
+* ``contexts`` is used to store the informations associated with the
+ attribute ``context()``.
+* ``as`` is used to hold the identifier of the attribute ``address_space()``.
Kind of types
=============
@@ -49,11 +49,11 @@ SYM_BASETYPE
Used by integer, floating-point, void, 'type', 'incomplete' & bad types.
For integer types:
- * .ctype.base_type points to ```int_ctype```, the generic/abstract integer type
+ * .ctype.base_type points to ``int_ctype``, the generic/abstract integer type
* .ctype.modifiers has MOD_UNSIGNED/SIGNED/EXPLICITLY_SIGNED set accordingly.
For floating-point types:
- * .ctype.base_type points to ```fp_ctype```, the generic/abstract float type
+ * .ctype.base_type points to ``fp_ctype``, the generic/abstract float type
* .ctype.modifiers is zero.
For the other base types:
@@ -131,7 +131,7 @@ Used for bitwise types (aka 'restricted' types):
SYM_FOULED
----------
Used for bitwise types when the negation op (~) is
-used and the bit_size is smaller than an ```int```.
+used and the bit_size is smaller than an ``int``.
There is a 1-to-1 mapping between a fouled type and
its parent bitwise type.