summaryrefslogtreecommitdiff
path: root/src/declare.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-06-14 16:28:29 -0400
committerAdrian Thurston <thurston@complang.org>2015-06-14 16:28:29 -0400
commit79710f96389cefc498cf806cefb5e05f6fed38ea (patch)
tree6fce42d8f219db18914c20aedbfb03283e417234 /src/declare.cc
parent324f1fc08d2876f8084f226a54bb06e0e817a791 (diff)
downloadcolm-79710f96389cefc498cf806cefb5e05f6fed38ea.tar.gz
cleanup in the list and map types
Diffstat (limited to 'src/declare.cc')
-rw-r--r--src/declare.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/declare.cc b/src/declare.cc
index dc3f4385..bce148bc 100644
--- a/src/declare.cc
+++ b/src/declare.cc
@@ -250,11 +250,6 @@ StructEl *declareStruct( Compiler *pd, Namespace *inNspace,
pd->structEls.append( structEl );
structDef->structEl = structEl;
- if ( structDef->listEl )
- structEl->listEl = true;
- if ( structDef->mapEl )
- structEl->mapEl = true;
-
if ( inNspace ) {
TypeMapEl *typeMapEl = new TypeMapEl( TypeMapEl::StructType, data, structEl );
inNspace->typeMap.insert( typeMapEl );