diff options
author | Adrian Thurston <thurston@complang.org> | 2015-06-14 16:28:29 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2015-06-14 16:28:29 -0400 |
commit | 79710f96389cefc498cf806cefb5e05f6fed38ea (patch) | |
tree | 6fce42d8f219db18914c20aedbfb03283e417234 /src/declare.cc | |
parent | 324f1fc08d2876f8084f226a54bb06e0e817a791 (diff) | |
download | colm-79710f96389cefc498cf806cefb5e05f6fed38ea.tar.gz |
cleanup in the list and map types
Diffstat (limited to 'src/declare.cc')
-rw-r--r-- | src/declare.cc | 5 |
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 ); |