basic/source/comp/loops.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit cbd43d0cb1165add5b9b559c3608a93ea631da13 Author: Damjan Jovanovic <dam...@apache.org> Date: Tue Dec 15 17:31:31 2015 +0000 #i126272# OpenOffice.org Basic 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 diff --git a/basic/source/comp/loops.cxx b/basic/source/comp/loops.cxx index 6a67804..d0544d1 100644 --- a/basic/source/comp/loops.cxx +++ b/basic/source/comp/loops.cxx @@ -130,7 +130,7 @@ void SbiParser::If() { if( !Parse() ) break; eTok = Peek(); - if( eTok == EOLN ) + if( eTok == EOLN || eTok == REM ) break; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits