aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/functions-builtin.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-10-28 10:45:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-10-28 10:45:33 +0200
commit4e6cf1e6960cff079ff7fd3fb029d4a4e901f2a9 (patch)
treee610bc07b1e2c9e1c41816245781b2768ebe40c1 /libbuild2/functions-builtin.cxx
parent68a8fa2c75765b8dbf20019b022c8b12edb11619 (diff)
Add missing $builtin.string(int64)
Diffstat (limited to 'libbuild2/functions-builtin.cxx')
-rw-r--r--libbuild2/functions-builtin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbuild2/functions-builtin.cxx b/libbuild2/functions-builtin.cxx
index afafe66..97cc449 100644
--- a/libbuild2/functions-builtin.cxx
+++ b/libbuild2/functions-builtin.cxx
@@ -51,6 +51,7 @@ namespace build2
// string
//
f["string"] = [](bool b) {return b ? "true" : "false";};
+ f["string"] = [](int64_t i) {return to_string (i);};
f["string"] = [](uint64_t i) {return to_string (i);};
f["string"] = [](name n) {return to_string (n);};