aboutsummaryrefslogtreecommitdiff
path: root/tccpp.c
diff options
context:
space:
mode:
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-09-24 18:03:26 -0700
committerLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-09-24 18:03:26 -0700
commit1b6806e5bb39623c75b4aa8d8d6ffe1ef7ea46e7 (patch)
tree07a87c82efa398bce0b3d663c72c7b8e52439a1e /tccpp.c
parent44d4da62bb6aabd9030960fa41c12c097158ce0b (diff)
downloadtinycc-1b6806e5bb39623c75b4aa8d8d6ffe1ef7ea46e7.tar.gz
tinycc-1b6806e5bb39623c75b4aa8d8d6ffe1ef7ea46e7.tar.bz2
Spelling fixes
Comments only, no change to functionality
Diffstat (limited to 'tccpp.c')
-rw-r--r--tccpp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tccpp.c b/tccpp.c
index 7561b36..39386f4 100644
--- a/tccpp.c
+++ b/tccpp.c
@@ -2108,7 +2108,7 @@ static void parse_escape_string(CString *outstr, const uint8_t *buf, int is_long
/* reference: The Unicode Standard, Version 10.0, ch3.9 */
int cont; /* count of continuation bytes */
- int skip; /* how many bytes should skip when error occured */
+ int skip; /* how many bytes should skip when error occurred */
int i;
/* decode leading byte */
@@ -3517,7 +3517,7 @@ no_subst:
if (t == TOK_NOSUBST)
nosubst = 1;
}
- /* GCC supports 'defined' as result of a macto substitution */
+ /* GCC supports 'defined' as result of a macro substitution */
if (t == TOK_DEFINED && pp_expr)
nosubst = 2;
}