summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/dec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/dec.cc')
-rw-r--r--Build/source/utils/asymptote/dec.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/dec.cc b/Build/source/utils/asymptote/dec.cc
index fefc096fdc5..07e1711107c 100644
--- a/Build/source/utils/asymptote/dec.cc
+++ b/Build/source/utils/asymptote/dec.cc
@@ -164,7 +164,7 @@ void block::transAsRecordBody(coenv &e, record *r)
record *block::transAsFile(genv& ge, symbol *id)
{
// Create the new module.
- record *r = new record(id, new frame(0,0));
+ record *r = new record(id, new frame(*id,0,0));
// Create coder and environment to translate the module.
// File-level modules have dynamic fields by default.