summaryrefslogtreecommitdiffstats
path: root/idlc/source/astscope.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-30 17:53:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-30 17:53:45 +0100
commit8e71d9400bd350d63723c5489ddaadb3d3610baf (patch)
tree51ec29e538c6ea301faef5125421101ddf47461c /idlc/source/astscope.cxx
parentSpeed up filling of random number generation over entire column. (diff)
downloadcore-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.cxx6
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;