Make underscores valid number components

This commit is contained in:
Ben S
2014-10-27 14:34:45 +00:00
parent 1ab9822890
commit b9aefd8d32

View File

@@ -159,7 +159,7 @@ SInt32 skipNumber(BBLMTextIterator &iter)
while ((ch = iter.GetNextChar()))
{
if (isdigit(ch))
if (isdigit(ch) || (ch == '_' && length > 0))
{
length++;
}