about summary refs log tree commit diff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorChristian Theune <ct@flyingcircus.io>2016-01-05T08·46+0100
committerChristian Theune <ct@flyingcircus.io>2016-01-05T08·46+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 e5a108a4385e..b951daacaf0c 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");
     }