Allow 'us' and 'is' machine-dependent suffixes
This commit is contained in:
11
rust.mm
11
rust.mm
@@ -210,8 +210,17 @@ SInt32 skipNumber(BBLMTextIterator &iter)
|
||||
}
|
||||
else if (ch == 'f' || ch == 'u' || ch == 'i')
|
||||
{
|
||||
hasSuffix = true;
|
||||
length++;
|
||||
if (ch != 'f' && iter.strcmp("s", 1) == 0)
|
||||
{
|
||||
// Parse 'us' or 'is' machine-dependent suffixes
|
||||
length++;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Otherwise, allow for numbers at the end
|
||||
hasSuffix = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user