diff options
author | Damjan Jovanovic <damjan@apache.org> | 2015-12-15 17:31:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-16 09:18:23 +0000 |
commit | a22702ab0daff2bf2cdf573feda256606a705383 (patch) | |
tree | a88e964a65b45a71ce5d02d376300c09a415e906 /basic | |
parent | 7242ed0567297c3c5186b4095496fc01448359f4 (diff) |
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
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/comp/loops.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/comp/loops.cxx b/basic/source/comp/loops.cxx index a77b9e2b3318..fb9680d95cb7 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; } } |