[hackers] [scc] [cc1] comparision -> comparison || FRIGN
commit d6cf24d6a65279f425b1c498cd111c3ad950c631
Author: FRIGN <dev_AT_frign.de>
AuthorDate: Wed May 25 08:10:02 2016 +0200
Commit: FRIGN <dev_AT_frign.de>
CommitDate: Wed May 25 08:10:02 2016 +0200
[cc1] comparision -> comparison
diff --git a/cc1/fold.c b/cc1/fold.c
index e75e1eb..88bd7a2 100644
--- a/cc1/fold.c
+++ b/cc1/fold.c
_AT_@ -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;
}
Received on Wed May 25 2016 - 08:24:09 CEST
This archive was generated by hypermail 2.3.0
: Wed May 25 2016 - 08:36:11 CEST