https://bz.apache.org/ooo/show_bug.cgi?id=126272
bmarcelly <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Ever confirmed|0 |1 Status|UNCONFIRMED |CONFIRMED --- Comment #2 from bmarcelly <[email protected]> --- Confirmed. The syntax analyzer is disturbed by any comment at right of a line containing if ... then ... else ... The comment may be a single apostrophe or a single REM Further examples: >> this throws Unexpected symbol : End Sub Sub Main for a = -5 to 3 if a > 1 then b = 0 else b = 2 REM next End Sub >> this throws Unexpected symbol : Until Sub Main1 a= 0 Do a = a+1 if a > 1 then b = 0 else b = 2 rem Loop Until a > 3 End Sub Workaround : do not add a comment on a line "if...then...else..." -- You are receiving this mail because: You are the assignee for the issue.
