diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-02 13:22:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-02 13:22:15 +0200 |
commit | afabf409aa8b299806726c69edc3ab0258f50c02 (patch) | |
tree | b30192957982d8c42c034c209e04dc2aae0c909a /basic | |
parent | 677246466c471fbe3522c35be3639afa008a46c0 (diff) |
oops, wasn't supposed to commit that
snuck in with commit 4d2c210c74567d9af6bededf3fae6bfd62406f14
"use early return to simplify flow"
Change-Id: I2a5cbff01c5f40d879d320fd3934bc0856756d37
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/comp/exprtree.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx index fa8e9d1ecada..008976f1a7d6 100644 --- a/basic/source/comp/exprtree.cxx +++ b/basic/source/comp/exprtree.cxx @@ -1055,11 +1055,11 @@ SbiExprListPtr SbiExprList::ParseParameters( SbiParser* pParser, bool bStandalon { if( ( pExprList->bBracket && eTok == RPAREN ) || SbiTokenizer::IsEoln( eTok ) ) { -// if ( SbiTokenizer::IsEoln( eTok ) && pExprList->bBracket) -// { -// pParser->Error( ERRCODE_BASIC_EXPECTED, RPAREN ); -// pExprList->bError = true; -// } + if ( SbiTokenizer::IsEoln( eTok ) && pExprList->bBracket) + { + pParser->Error( ERRCODE_BASIC_EXPECTED, RPAREN ); + pExprList->bError = true; + } break; } pParser->Error( pExprList->bBracket ? ERRCODE_BASIC_BAD_BRACKETS : ERRCODE_BASIC_EXPECTED, COMMA ); |