diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-30 17:53:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-30 17:53:45 +0100 |
commit | 8e71d9400bd350d63723c5489ddaadb3d3610baf (patch) | |
tree | 51ec29e538c6ea301faef5125421101ddf47461c /idlc/source/astscope.cxx | |
parent | Speed up filling of random number generation over entire column. (diff) | |
download | core-8e71d9400bd350d63723c5489ddaadb3d3610baf.tar.gz core-8e71d9400bd350d63723c5489ddaadb3d3610baf.zip |
Remove UNOIDL "array" and "union" vaporware from idlc
Change-Id: Iccd5a78b54620796cfde672388b70ad97d17b7a5
Diffstat (limited to 'idlc/source/astscope.cxx')
-rw-r--r-- | idlc/source/astscope.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/idlc/source/astscope.cxx b/idlc/source/astscope.cxx index ba06611feb1a..b127cf936c06 100644 --- a/idlc/source/astscope.cxx +++ b/idlc/source/astscope.cxx @@ -47,11 +47,6 @@ AstDeclaration* AstScope::addDeclaration(AstDeclaration* pDecl) if ((pDeclaration = lookupForAdd(pDecl)) != NULL) { - if (pDecl->getNodeType() == NT_union_branch ) - { - m_declarations.push_back(pDecl); - return pDecl; - } if ( pDecl->hasAncestor(pDeclaration) ) { idlc()->error()->error2(EIDL_REDEF_SCOPE, pDecl, pDeclaration); @@ -59,7 +54,6 @@ AstDeclaration* AstScope::addDeclaration(AstDeclaration* pDecl) } if ( (pDecl->getNodeType() == pDeclaration->getNodeType()) && (pDecl->getNodeType() == NT_sequence - || pDecl->getNodeType() == NT_array || pDecl->getNodeType() == NT_instantiated_struct) ) { return pDeclaration; |