aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorChristian Theune <ct@flyingcircus.io>2016-01-05 09:46:37 +0100
committerChristian Theune <ct@flyingcircus.io>2016-01-05 09:46:37 +0100
commitf872262e0818ae1000826cfca3ad17619f50b60c (patch)
tree5c2bb0a2d7a29746bf3822b08b8de2e6e2bb1902 /src/libexpr/eval.cc
parent494fc5acbb104371a80ca17bd9f1e35c3859ed27 (diff)
Fix up float parsing.
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index e5a108a43..b951daaca 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -130,6 +130,7 @@ static void printValue(std::ostream & str, std::set<const Value *> & active, con
break;
case tFloat:
str << v.fpoint;
+ break;
default:
throw Error("invalid value");
}