diff options
author | Michael Forney <mforney@mforney.org> | 2017-06-29 21:11:55 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2017-06-30 23:15:23 -0700 |
commit | 09a34baac6757c7a4c33e3e3c50054acbb1b70bb (patch) | |
tree | fff3bb09f3958e1072d9d415aaca16966c875f48 /parse | |
parent | 849dee9be47627e40d26594257d03c081d501152 (diff) | |
download | mc-09a34baac6757c7a4c33e3e3c50054acbb1b70bb.tar.gz |
Typos
Diffstat (limited to 'parse')
-rw-r--r-- | parse/infer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/parse/infer.c b/parse/infer.c index 6d6cd11..dcaf1c4 100644 --- a/parse/infer.c +++ b/parse/infer.c @@ -446,7 +446,7 @@ static Type *tyfreshen(Inferstate *st, Tysubst *subst, Type *t) return t; } -/* Resolves a type and all it's subtypes recursively.*/ +/* Resolves a type and all its subtypes recursively. */ static void tyresolve(Inferstate *st, Type *t) { size_t i; @@ -568,7 +568,7 @@ static Type *tysubst(Inferstate *st, Type *t, Type *orig) } -/* fixd the most accurate type mapping we have (ie, +/* find the most accurate type mapping we have (ie, * the end of the unification chain */ static Type *tf(Inferstate *st, Type *orig) { @@ -1611,7 +1611,7 @@ static void inferexpr(Inferstate *st, Node **np, Type *ret, int *sawret) settype(st, n, mktyvar(n->loc)); delayedcheck(st, n, curstab()); break; - case Osize: /* sizeof @a -> size */ + case Osize: /* sizeof(@a) -> size */ infersub(st, n, ret, sawret, &isconst); settype(st, n, mktylike(n->loc, Tyuint)); break; |