aboutsummaryrefslogtreecommitdiff
path: root/src/utils/vm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/vm.cc')
-rw-r--r--src/utils/vm.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/utils/vm.cc b/src/utils/vm.cc
index 291eda03..ecb2a837 100644
--- a/src/utils/vm.cc
+++ b/src/utils/vm.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2011, Gabriel Dos Reis.
+// Copyright (C) 2011-2012, Gabriel Dos Reis.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
@@ -39,6 +39,10 @@ namespace OpenAxiom {
Pair BasicContext::make_cons(Value h, Value t) {
return conses.make(h, t);
}
+
+ NullaryOperator BasicContext::make_operator(Symbol n, NullaryCode c) {
+ return nullaries.make(n,c);
+ }
BasicContext::BasicContext() {
}