diff --git a/src/lexer.c b/src/lexer.c index 06bc4c9..74dd64f 100644 --- a/src/lexer.c +++ b/src/lexer.c @@ -26,6 +26,7 @@ double acc_float(int c) { if (*inp == '.') { char* oinp = inp++; while (isdigit(*inp)) { + // TODO: // Accumulate as int, divide once at end. value = value + (((double)(*inp - '0'))/pow(10.0l, (double)(inp-oinp))); // Accumulate value. inp++;