aboutsummaryrefslogtreecommitdiff
path: root/src/cljcc/util.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/cljcc/util.clj')
-rw-r--r--src/cljcc/util.clj1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cljcc/util.clj b/src/cljcc/util.clj
index c9fc208..0a24eef 100644
--- a/src/cljcc/util.clj
+++ b/src/cljcc/util.clj
@@ -83,6 +83,7 @@
(def signed-long-re #"[0-9]+[lL]")
(def unsigned-int-re #"[0-9]+[uU]")
(def signed-int-re #"[0-9]+")
+(def fractional-constant #"([0-9]*\.[0-9]+|[0-9]+\.?)[Ee][+-]?[0-9]+|[0-9]*\.[0-9]+|[0-9]+\.")
(defn read-number
"Returns number in string form.