https://bugs.documentfoundation.org/show_bug.cgi?id=149402

            Bug ID: 149402
           Summary: VBA parsing bug with multiline continuation in comment
                    ending with a whitespace
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Consider the following macro code where the line ' _ ends with a whitespace:

sub foo
  ' _ 
  If 1 Then
  Else
  End If
end sub

Steps to Reproduce:
Copy paste the code above to the BASIC IDE in LibreOffice.

Actual Results:
Parsing error.

Expected Results:
Program runs without an error since the line continuation character is not at
the end of the line.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.3.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 16; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (C.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.3~rc2-0ubuntu0.18.04.1~lo1
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to