summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2013-04-07 09:42:18 -0400
committerPeter Foley <pefoley2@verizon.net>2013-04-07 09:42:18 -0400
commit84068dae548d8498bf63f5fe2273a44b9fc638bb (patch)
treec54e06bfe7cb0e59922fedb60d0308f6b6d72baf /idlc
parent7c790d544d43948c0ec44b6526cfe95c3777c428 (diff)
fix logical-op-parenthesis warning
Change-Id: Ib97f667c9acb644c3becb81f851ad8c7e4ff31ea
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/parser.y b/idlc/source/parser.y
index e338e57be7aa..528bc966cd5a 100644
--- a/idlc/source/parser.y
+++ b/idlc/source/parser.y
@@ -1707,7 +1707,7 @@ service_export :
pDecl = pScope->lookupByName(*iter);
if ( pDecl && (pDecl->getNodeType() == NT_service) )
{
- if ( static_cast< AstService * >(pDecl)->isSingleInterfaceBasedService() || pScope->getScopeNodeType() == NT_singleton && pScope->nMembers() > 0 )
+ if ( static_cast< AstService * >(pDecl)->isSingleInterfaceBasedService() || (pScope->getScopeNodeType() == NT_singleton && pScope->nMembers() > 0) )
idlc()->error()->error0(EIDL_ILLEGAL_ADD);
else if ( idlc()->error()->checkPublished(pDecl) )
{