summaryrefslogtreecommitdiffstats
path: root/cpp/sca/modules/eval/read.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/sca/modules/eval/read.hpp')
-rw-r--r--cpp/sca/modules/eval/read.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/sca/modules/eval/read.hpp b/cpp/sca/modules/eval/read.hpp
index 8ede2189a6..cd9068c017 100644
--- a/cpp/sca/modules/eval/read.hpp
+++ b/cpp/sca/modules/eval/read.hpp
@@ -61,7 +61,7 @@ const bool isIdentifierPart(const char ch) {
}
const bool isDigit(const char ch) {
- return isdigit(ch);
+ return isdigit(ch) || ch == '.';
}
const bool isLeftParenthesis(const value& token) {