[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - basic/source

Katarina Behrens Katarina.Behrens at cib.de
Tue Mar 21 11:45:48 UTC 2017


 basic/source/comp/exprtree.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 660e394b893a045a077ccded263f94a1be03fcf9
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date:   Fri Mar 17 15:12:32 2017 +0100

    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 at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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 );


More information about the Libreoffice-commits mailing list