aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-06-16 20:24:56 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-06-16 20:30:38 +0200
commit2bf23b46328bf623cf3a2e5b1c3d4c1c9cd2fe6e (patch)
treea774f047d36da09925675b81bc71f17b2234b413
parent6d4506fa201989698f643ec3a50b2b6201d829fe (diff)
downloadsparse-2bf23b46328bf623cf3a2e5b1c3d4c1c9cd2fe6e.tar.gz
doc: fix some typos
Fix some silly typos. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r--Documentation/types.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/types.rst b/Documentation/types.rst
index e5d07def..5c10725f 100644
--- a/Documentation/types.rst
+++ b/Documentation/types.rst
@@ -13,7 +13,7 @@ For the purpose of this document, things can be simplified into:
struct ctype {
struct symbol *base_type;
unsigned long modifiers;
- unsigned long alignement;
+ unsigned long alignment;
struct context_list *contexts;
struct indent *as;
};
@@ -68,7 +68,7 @@ have their own modifiers, address_space, contexts or alignment
as well as the declaration's identifier.
Usage:
- * .ctype.base_type points to the unmodified type (wich must not
+ * .ctype.base_type points to the unmodified type (which must not
be a SYM_NODE itself)
* .ctype.modifiers, .as, .alignment, .contexts will contains
the 'variation' (MOD_CONST, the attributes, ...).