From f8048cb88952b443d66265f3d790db00215f2907 Mon Sep 17 00:00:00 2001 From: olpc user Date: Sat, 4 Jan 2020 12:47:04 -0800 Subject: compiles --- starts/meaning-vm/level-1/funcs.cpp | 4 ++-- starts/meaning-vm/level-1/funcs.hpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'starts/meaning-vm/level-1') diff --git a/starts/meaning-vm/level-1/funcs.cpp b/starts/meaning-vm/level-1/funcs.cpp index d62b0a2..fb57165 100644 --- a/starts/meaning-vm/level-1/funcs.cpp +++ b/starts/meaning-vm/level-1/funcs.cpp @@ -41,7 +41,7 @@ static auto & namestruct() static struct name_t { std::unordered_map,std::equal_to> conceptsByName; - ref level1allocationsref, nameref, isref; + ref level1allocationsref, nameref, textref, isref; ref level1ref; name_t() : level1allocationsref(level0::basic_alloc()), @@ -52,7 +52,7 @@ static auto & namestruct() { give(level1allocationsref, "level1-allocations"); give(nameref, "name"); - give(stringref, "text"); + give(textref, "text"); give(isref, "is"); give(level1ref, "level1"); } diff --git a/starts/meaning-vm/level-1/funcs.hpp b/starts/meaning-vm/level-1/funcs.hpp index 185de7b..bff0d8a 100644 --- a/starts/meaning-vm/level-1/funcs.hpp +++ b/starts/meaning-vm/level-1/funcs.hpp @@ -11,6 +11,7 @@ namespace intellect { namespace level1 { +concept* gettext(std::string const & str); concept* getnamed(std::string const & name, concept* allocator = nullptr); std::string getname(concept* r); void givename(concept* con, std::string const & name); -- cgit v1.2.3