summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2017-03-17 15:12:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-03-27 12:56:57 +0000
commit4725c2a282f2c6468125073ba9cb5ba66f488e08 (patch)
treedf085e417eb4df7de418b72f008adc0993654b57
parent41f5c4bfce5f9b1c1043a51c73ae87bbe0673f3a (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 Change-Id: I5d27e6d4e7c8aea3f0762c41ede46e35a5a24aaa Reviewed-on: https://gerrit.libreoffice.org/35340 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 660e394b893a045a077ccded263f94a1be03fcf9) Reviewed-on: https://gerrit.libreoffice.org/35527 Reviewed-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-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 008976f1a7d6..e7a2210ada0c 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 );