summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-1
diff options
context:
space:
mode:
Diffstat (limited to 'starts/meaning-vm/level-1')
-rw-r--r--starts/meaning-vm/level-1/funcs.cpp4
-rw-r--r--starts/meaning-vm/level-1/funcs.hpp1
2 files changed, 3 insertions, 2 deletions
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::string,ref,std::hash<std::string>,std::equal_to<std::string>> 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);