From 9500b59f04754efe6f8f010723e57939fc6e8eae Mon Sep 17 00:00:00 2001 From: Mark Koennecke Date: Thu, 28 Aug 2014 09:03:41 +0200 Subject: [PATCH] Fixed SICSType to recognize exponential numbers --- script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.c b/script.c index 4b667d3c..20497fe8 100644 --- a/script.c +++ b/script.c @@ -199,7 +199,7 @@ static int isNum(char *pText) for (i = 0; i < strlen(pText); i++) { if (!isdigit(pText[i])) { - if (!((pText[i] == '+') || (pText[i] == '-') || (pText[i] == '.'))) { + if (!((pText[i] == '+') || (pText[i] == '-') || (pText[i] == '.') || (tolower(pText[i]) == 'e' ))) { iRet = 0; break; }