summaryrefslogtreecommitdiff
path: root/starts
diff options
context:
space:
mode:
authoruser <user@localhost.localdomain>2019-12-23 11:11:17 -0800
committeruser <user@localhost.localdomain>2019-12-23 11:11:17 -0800
commite813d05b971e68429de7ab0704daa8f5bfc403aa (patch)
treeab6dc520feed2cbc2cc24fc68fb676f54b6c4994 /starts
parent217d6142e92a21f592ffacadb6598fb41005d577 (diff)
downloadstandingwithresilience-e813d05b971e68429de7ab0704daa8f5bfc403aa.tar.gz
standingwithresilience-e813d05b971e68429de7ab0704daa8f5bfc403aa.zip
compilation bugfix
Diffstat (limited to 'starts')
-rw-r--r--starts/meaning-vm/.gitignore1
-rw-r--r--starts/meaning-vm/level-2/funcs.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/starts/meaning-vm/.gitignore b/starts/meaning-vm/.gitignore
index ff3f1d3..206b76d 100644
--- a/starts/meaning-vm/.gitignore
+++ b/starts/meaning-vm/.gitignore
@@ -2,5 +2,6 @@
*.ii
*.o
*.a
+*.tmp
level?
habit-starts/rhythm
diff --git a/starts/meaning-vm/level-2/funcs.cpp b/starts/meaning-vm/level-2/funcs.cpp
index c13e973..3ecedb3 100644
--- a/starts/meaning-vm/level-2/funcs.cpp
+++ b/starts/meaning-vm/level-2/funcs.cpp
@@ -31,7 +31,7 @@ ref makehabit(ref name, std::initializer_list<ref> argnames, std::function<void(
infn.set(argname, nextinf);
} else {
if (!infn.get(argname).isa(habit-information)) {
- throw a(bad-concepts::habit-information-concepts::name)
+ throw a(unexpected-concepts::habit-information-concepts::name)
.link(concepts::name, argname)
.link(concepts::habit, habit);
}