summaryrefslogtreecommitdiff
path: root/src/declare.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/declare.cc')
-rw-r--r--src/declare.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declare.cc b/src/declare.cc
index 0a1073fb..02d40e85 100644
--- a/src/declare.cc
+++ b/src/declare.cc
@@ -955,13 +955,13 @@ void Compiler::addArgv()
{
/* Create the field and insert it into the map. */
ObjectField *el = ObjectField::cons( internal,
- ObjectField::UserFieldType, argvTypeRef, "argv" );
+ ObjectField::StructFieldType, argvTypeRef, "argv" );
el->isConst = true;
globalObjectDef->rootScope->insertField( el->name, el );
argvList = el;
el = ObjectField::cons( internal,
- ObjectField::UserFieldType, argvTypeRef, "argv0" );
+ ObjectField::StructFieldType, argvTypeRef, "argv0" );
el->isConst = true;
globalObjectDef->rootScope->insertField( el->name, el );
argv0 = el;