scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit d6cf24d6a65279f425b1c498cd111c3ad950c631
parent 7903bbf3ea842fe18ed2ca0606d859058d3eff47
Author: FRIGN <dev@frign.de>
Date:   Wed, 25 May 2016 08:10:02 +0200

[cc1] comparision -> comparison

Diffstat:
Mcc1/fold.c | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/cc1/fold.c b/cc1/fold.c @@ -257,18 +257,18 @@ foldfloat(int op, Symbol *res, TFLOAT l, TFLOAT r) case OSUB: f = l - r; break; case OMUL: f = l * r; break; case ODIV: f = l / r; break; - case OLT: i = l < r; goto comparision; - case OGT: i = l > r; goto comparision; - case OGE: i = l >= r; goto comparision; - case OLE: i = l <= r; goto comparision; - case OEQ: i = l == r; goto comparision; - case ONE: i = l != r; goto comparision; + case OLT: i = l < r; goto comparison; + case OGT: i = l > r; goto comparison; + case OGE: i = l >= r; goto comparison; + case OLE: i = l <= r; goto comparison; + case OEQ: i = l == r; goto comparison; + case ONE: i = l != r; goto comparison; default: return 0; } res->u.f = f; return 1; -comparision: +comparison: res->u.i = i; return 1; }