summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-2/funcs.cpp
diff options
context:
space:
mode:
authoruser <user@localhost.localdomain>2019-12-21 06:45:50 -0800
committeruser <user@localhost.localdomain>2019-12-21 06:45:50 -0800
commit8ab69b673852971103e89eafa15a1dc6385b56ce (patch)
treef61be324b4ad223cd8e413a1e40f885a28de0460 /starts/meaning-vm/level-2/funcs.cpp
parent23641371d1a8f5700f629783f6b06b6d27fa70a2 (diff)
downloadstandingwithresilience-8ab69b673852971103e89eafa15a1dc6385b56ce.tar.gz
standingwithresilience-8ab69b673852971103e89eafa15a1dc6385b56ce.zip
wip
Diffstat (limited to 'starts/meaning-vm/level-2/funcs.cpp')
-rw-r--r--starts/meaning-vm/level-2/funcs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/starts/meaning-vm/level-2/funcs.cpp b/starts/meaning-vm/level-2/funcs.cpp
index e4fc090..36f93ca 100644
--- a/starts/meaning-vm/level-2/funcs.cpp
+++ b/starts/meaning-vm/level-2/funcs.cpp
@@ -17,7 +17,7 @@ ref & context()
return ctx;
}
-ref makehabit(ref name, std::initializer_list<ref> argnames, std::function<void(ref)> code)
+ref makehabit(ref name, std::initializer_list<ref> argnames, std::initializer_list<ref> defaults, std::function<void(ref)> code)
{
ref habit = level1::a(concepts::habit, name);
ref posarg = habit;