Kaydet (Commit) cbd43d0c authored tarafından Damjan Jovanovic's avatar Damjan Jovanovic

#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
üst fa1315d2
......@@ -130,7 +130,7 @@ void SbiParser::If()
{
if( !Parse() ) break;
eTok = Peek();
if( eTok == EOLN )
if( eTok == EOLN || eTok == REM )
break;
}
}
......
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