From af4c34887f824d32a8064ae77f5ce3c77e83c874 Mon Sep 17 00:00:00 2001 From: Ben S Date: Thu, 27 Nov 2014 05:19:10 +0000 Subject: [PATCH] Highlight numbers in 'use' statements Thanks, std::f64::consts... --- rust.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust.mm b/rust.mm index 2a12817..967fb7d 100644 --- a/rust.mm +++ b/rust.mm @@ -161,7 +161,7 @@ SInt32 skipUse(BBLMTextIterator &iter) while ((ch = iter.GetNextChar())) { - if (islower(ch) || ch == ':' || ch == '_') + if (islower(ch) || ch == ':' || ch == '_' || (length > 0 && isdigit(ch))) { length++; }