Fixed some typos.
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Mon, 3 Dec 2012 07:30:30 +0000 (08:30 +0100)
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Mon, 3 Dec 2012 07:34:06 +0000 (08:34 +0100)
adt/hashset.c.inl
ast2firm.c
parser.c
preprocessor.c
type.h

index 0e7ce35..06f4312 100644 (file)
@@ -44,7 +44,7 @@
  *                             Defining this implies, that a data value contains
  *                             more than just the key.</li>
  *  <li><b>GetKey(value)</b>   Extracts the key from a data value</li>
- *  <li><b>KeysEqual(hashset,key1,key2)</b>  Tests wether 2 keys are equal</li>
+ *  <li><b>KeysEqual(hashset,key1,key2)</b>  Tests whether 2 keys are equal</li>
  *  <li><b>DO_REHASH</b>       Instead of storing the hash-values, recalculate
  *                             them on demand from the datavalues. (useful if
  *                             calculating the hash-values takes less time than
index b3b09ae..8e34489 100644 (file)
@@ -3762,7 +3762,7 @@ static ir_initializer_t *create_ir_initializer_value(
        return create_initializer_const(value);
 }
 
-/** test wether type can be initialized by a string constant */
+/** Tests whether type can be initialized by a string constant */
 static bool is_string_type(type_t *type)
 {
        if (!is_type_array(type))
index 6d91c05..af4b6a8 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -1721,7 +1721,7 @@ static __attribute__((unused)) void debug_print_type_path(
 }
 
 /**
- * Return the top type path entry, ie. in a path
+ * Return the top type path entry, i.e. in a path
  * (type).a.b returns the b.
  */
 static type_path_entry_t *get_type_path_top(const type_path_t *path)
@@ -1774,7 +1774,7 @@ static void descend_into_subtype(type_path_t *path)
 }
 
 /**
- * Pop an entry from the given type path, ie. returning from
+ * Pop an entry from the given type path, i.e. returning from
  * (type).a.b to (type).a
  */
 static void ascend_from_subtype(type_path_t *path)
@@ -3882,7 +3882,7 @@ static bool contains_attribute(const attribute_t *list, const attribute_t *attr)
 }
 
 /**
- * test wether new_list contains any attributes not included in old_list
+ * Tests whether new_list contains any attributes not included in old_list
  */
 static bool has_new_attributes(const attribute_t *old_list,
                                const attribute_t *new_list)
@@ -7069,7 +7069,7 @@ static void handle_builtin_argument_restrictions(call_expression_t *call)
 }
 
 /**
- * Parse a call expression, ie. expression '( ... )'.
+ * Parse a call expression, i.e. expression '( ... )'.
  *
  * @param expression  the function address
  */
@@ -7241,7 +7241,7 @@ static void semantic_condition(expression_t const *const expr,
 }
 
 /**
- * Parse a conditional expression, ie. 'expression ? ... : ...'.
+ * Parse a conditional expression, i.e. 'expression ? ... : ...'.
  *
  * @param expression  the conditional expression
  */
@@ -9547,7 +9547,7 @@ static statement_t *parse_declaration_statement(void)
 }
 
 /**
- * Parse an expression statement, ie. expr ';'.
+ * Parse an expression statement, i.e. expr ';'.
  */
 static statement_t *parse_expression_statement(void)
 {
index aab016d..c41c22d 100644 (file)
@@ -1969,7 +1969,7 @@ static const char *parse_headername(bool *system_include)
                return NULL;
        }
 
-       /* check wether we have a "... or <... headername */
+       /* check whether we have a "... or <... headername */
        position_t pos = input.pos;
        switch (input.c) {
        {
@@ -2227,7 +2227,7 @@ static void parse_ifdef_ifndef_directive(bool const is_ifdef)
                /* just take the true case in the hope to avoid further errors */
                condition = true;
        } else {
-               /* evaluate wether we are in true or false case */
+               /* evaluate whether we are in true or false case */
                condition = (bool)pp_token.base.symbol->pp_definition == is_ifdef;
                eat_token(T_IDENTIFIER);
 
diff --git a/type.h b/type.h
index 0659663..728f458 100644 (file)
--- a/type.h
+++ b/type.h
@@ -207,7 +207,7 @@ bool is_type_scalar(const type_t *type);
  * Check if a given type is incomplete.
  *
  * @param type  The type to check.
- * @return True if the given type is incomplete (ie. just forward).
+ * @return True if the given type is incomplete (i.e. just forward).
  */
 bool is_type_incomplete(const type_t *type);