mirror of
https://github.com/NixOS/nix
synced 2025-06-26 07:31:15 +02:00
Fix up float parsing.
This commit is contained in:
parent
494fc5acbb
commit
f872262e08
2 changed files with 3 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue