[Libreoffice-commits] core.git: basic/source
Damjan Jovanovic
damjan at apache.org
Wed Dec 16 01:19:15 PST 2015
basic/source/comp/loops.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a22702ab0daff2bf2cdf573feda256606a705383
Author: Damjan Jovanovic <damjan at apache.org>
Date: Tue Dec 15 17:31:31 2015 +0000
Resolves: #i126272# compile error : if statement followed by End If...
- in next Line ???
Allow the Else in a single-line If statement to be terminated by a comment instead of only EOL.
Patch by: me
(cherry picked from commit cbd43d0cb1165add5b9b559c3608a93ea631da13)
Change-Id: I3dcf014c9fe501bc9770ae3cfd69e7730c0b86cb
diff --git a/basic/source/comp/loops.cxx b/basic/source/comp/loops.cxx
index a77b9e2..fb9680d 100644
--- a/basic/source/comp/loops.cxx
+++ b/basic/source/comp/loops.cxx
@@ -124,7 +124,7 @@ void SbiParser::If()
{
if( !Parse() ) break;
eTok = Peek();
- if( eTok == EOLN )
+ if( eTok == EOLN || eTok == REM )
break;
}
}
More information about the Libreoffice-commits
mailing list