summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2017-03-17 15:12:32 +0100
committerMichael Stahl <mstahl@redhat.com>2017-03-31 14:27:57 +0000
commit351dead74b4c213b13102f81b5ae9bb47ad8ca39 (patch)
treef27349d5d64909f68a9886bd0a8646b4a8679fea
parent011e1cdbf33e50626f1fefa8b7b4031fa368f3e8 (diff)
tdf#106529: Revert "tdf#80731 Closing parenthesis is now detected"
This reverts commit 65e294e221e0ad1d37c6667eecb995817ace870d, which breaks several widely used Basic extensions and hundreds of anonymous macros that miss closing parenthesis here and there (cherry picked from commit 660e394b893a045a077ccded263f94a1be03fcf9) Change-Id: I5d27e6d4e7c8aea3f0762c41ede46e35a5a24aaa Reviewed-on: https://gerrit.libreoffice.org/35970 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
-rw-r--r--basic/source/comp/exprtree.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx
index 0a8b665e4ecb..c3b064da6325 100644
--- a/basic/source/comp/exprtree.cxx
+++ b/basic/source/comp/exprtree.cxx
@@ -1055,11 +1055,6 @@ 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;
- }
break;
}
pParser->Error( pExprList->bBracket ? ERRCODE_BASIC_BAD_BRACKETS : ERRCODE_BASIC_EXPECTED, COMMA );