diff options
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/astscope.cxx | 2 | ||||
-rw-r--r-- | idlc/source/options.cxx | 3 | ||||
-rw-r--r-- | idlc/source/parser.y | 6 |
3 files changed, 6 insertions, 5 deletions
diff --git a/idlc/source/astscope.cxx b/idlc/source/astscope.cxx index a8b8a159bde0..1ddda3984458 100644 --- a/idlc/source/astscope.cxx +++ b/idlc/source/astscope.cxx @@ -313,7 +313,7 @@ AstDeclaration* AstScope::lookupForAdd(AstDeclaration const * pDecl) const AstDeclaration* pRetDecl = lookupByNameLocal(pDecl->getLocalName()); - return pRetDecl; + return pRetDecl; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx index d1dbe1a8680c..04db926dad0d 100644 --- a/idlc/source/options.cxx +++ b/idlc/source/options.cxx @@ -287,7 +287,8 @@ bool Options::initOptions(std::vector< std::string > & rArgs) { return badOption("invalid", option); } - OString param("-D"); param += OString((*first).c_str(), (*first).size()); + OString param("-D"); + param += OString((*first).c_str(), (*first).size()); if (m_options.count("-D") > 0) { OStringBuffer buffer(m_options["-D"]); diff --git a/idlc/source/parser.y b/idlc/source/parser.y index 054df1e81df7..a2b9c645656b 100644 --- a/idlc/source/parser.y +++ b/idlc/source/parser.y @@ -491,7 +491,7 @@ interface_decl : identifier { idlc()->setParseState(PS_InterfaceIDSeen); - checkIdentifier($3); + checkIdentifier($3); $$ = $3; } ; @@ -823,7 +823,7 @@ opt_attrflag : } | error ']' { - yyerror("unknown property|attribute flag"); + yyerror("unknown property|attribute flag"); yyerrok; } ; @@ -920,7 +920,7 @@ operation : identifier { idlc()->setParseState(PS_OpIDSeen); - checkIdentifier($3); + checkIdentifier($3); AstInterface * pScope = static_cast< AstInterface * >( idlc()->scopes()->top()); |