Turns out numbers are valid identifier components

This commit is contained in:
Ben S
2014-12-05 20:08:26 +00:00
parent 69e12ea420
commit 34bbe47973

View File

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