diff --git a/rust.mm b/rust.mm index 8e88047..8d331cd 100644 --- a/rust.mm +++ b/rust.mm @@ -159,7 +159,7 @@ SInt32 skipNumber(BBLMTextIterator &iter) while ((ch = iter.GetNextChar())) { - if (isdigit(ch)) + if (isdigit(ch) || (ch == '_' && length > 0)) { length++; }