summaryrefslogtreecommitdiff
path: root/graphics/asymptote/runtime.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/runtime.cc')
-rw-r--r--graphics/asymptote/runtime.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/graphics/asymptote/runtime.cc b/graphics/asymptote/runtime.cc
index b0e7e11005..ba5a6d0f66 100644
--- a/graphics/asymptote/runtime.cc
+++ b/graphics/asymptote/runtime.cc
@@ -126,7 +126,7 @@ using namespace utils;
namespace run {
using camp::pair;
using vm::array;
-using vm::frame;
+using vm::vmFrame;
using vm::stack;
using camp::transform;
using absyntax::runnable;
@@ -216,7 +216,7 @@ void writestring(stack *s)
string S=pop<string>(s);
vm::item it=pop(s);
bool defaultfile=isdefault(it);
- camp::ofile *f=defaultfile ? &camp::Stdout : vm::get<camp::ofile*>(it);
+ camp::file *f=defaultfile ? &camp::Stdout : vm::get<camp::file*>(it);
if(!f->isOpen() || !f->enabled()) return;
if(S != "") f->write(S);
if(f->text()) {
@@ -298,7 +298,7 @@ void pushNullArray(stack *Stack)
void pushNullRecord(stack *Stack)
{
#line 256 "runtime.in"
- {Stack->push<frame*>(0); return;}
+ {Stack->push<vmFrame*>(0); return;}
}
#line 260 "runtime.in"
@@ -1135,9 +1135,8 @@ void gen_runtime86(stack *Stack)
void loadModule(stack *Stack)
{
string * index=vm::pop<string *>(Stack);
- string * filename=vm::pop<string *>(Stack);
#line 766 "runtime.in"
- Stack->load(*filename,*index);
+ Stack->load(*index);
}
#line 770 "runtime.in"