diff options
| author | Vincent Lefevre <vincent@vinc17.net> | 2014-04-07 13:31:00 +0200 |
|---|---|---|
| committer | Vincent Lefevre <vincent@vinc17.net> | 2014-04-07 13:31:00 +0200 |
| commit | 3e9a7e9d69e3adb0e9ed65d11caf415e74458fe9 (patch) | |
| tree | 9cb8986b31d58cd7ba2eb8e28a437cd7fa33b838 /tccgen.c | |
| parent | d09a46d655f18e88b848e95ddf7fed7ac20bfc36 (diff) | |
| download | tinycc-3e9a7e9d69e3adb0e9ed65d11caf415e74458fe9.tar.gz tinycc-3e9a7e9d69e3adb0e9ed65d11caf415e74458fe9.tar.bz2 | |
Corrected spelling mistakes in comments and strings
Diffstat (limited to 'tccgen.c')
| -rw-r--r-- | tccgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 && |
