Kaydet (Commit) 660e394b authored tarafından Katarina Behrens's avatar Katarina Behrens Kaydeden (comit) Noel Grandin

tdf#106529: Revert "tdf#80731 Closing parenthesis is now detected"

This reverts commit 65e294e2, 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/35340Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 6d484455
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment