diff --git a/cstdlib/math.c b/cstdlib/math.c index ee379a6..f7d9c1e 100644 --- a/cstdlib/math.c +++ b/cstdlib/math.c @@ -121,7 +121,7 @@ void MathSqrt(struct ParseState *Parser, struct Value *ReturnValue, struct Value void MathRound(struct ParseState *Parser, struct Value *ReturnValue, struct Value **Param, int NumArgs) { /* this awkward definition of "round()" due to it being inconsistently - /* declared in math.h */ + * declared in math.h */ ReturnValue->Val->FP = ceil(Param[0]->Val->FP - 0.5); } diff --git a/tests/03_struct.c b/tests/03_struct.c index 76fe7a8..079622d 100644 --- a/tests/03_struct.c +++ b/tests/03_struct.c @@ -14,4 +14,8 @@ bloggs.natasha = 34; printf("%d\n", bloggs.boris); printf("%d\n", bloggs.natasha); +//struct fred jones[2]; +//jones[0].boris = 12; +//jones[0].natasha = 34; + void main() {}