From 5769efeca50c4060b5be55c5ee0cb9f3c56c4ba5 Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Thu, 19 Apr 2007 08:08:19 +1200 Subject: [PATCH] + exponents are now valid: 1.212121e+18 --- libs/iovm/source/IoLexer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/iovm/source/IoLexer.c b/libs/iovm/source/IoLexer.c index 01b4ad2..9168ec7 100644 --- a/libs/iovm/source/IoLexer.c +++ b/libs/iovm/source/IoLexer.c @@ -1251,7 +1251,7 @@ int IoLexer_readExponent(IoLexer *self) { if (IoLexer_readCharAnyCase_(self, 'e')) { - IoLexer_readChar_(self, '-'); + IoLexer_readChar_(self, '-') || IoLexer_readChar_(self, '+'); if (!IoLexer_readDigits(self)) { -- 2.11.4.GIT