Corrected spelling mistakes in comments and strings

This commit is contained in:
Vincent Lefevre
2014-04-07 13:31:00 +02:00
parent d09a46d655
commit 3e9a7e9d69
11 changed files with 18 additions and 18 deletions

View File

@ -1579,7 +1579,7 @@ static inline int is_integer_btype(int bt)
bt == VT_INT || bt == VT_LLONG);
}
/* check types for comparison or substraction of pointers */
/* check types for comparison or subtraction of pointers */
static void check_comparison_pointer_types(SValue *p1, SValue *p2, int op)
{
CType *type1, *type2, tmp_type1, tmp_type2;
@ -5574,7 +5574,7 @@ static void decl_initializer_alloc(CType *type, AttributeDef *ad, int r,
if (sym->type.t & VT_EXTERN) {
/* if the variable is extern, it was not allocated */
sym->type.t &= ~VT_EXTERN;
/* set array size if it was ommited in extern
/* set array size if it was omitted in extern
declaration */
if ((sym->type.t & VT_ARRAY) &&
sym->type.ref->c < 0 &&