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
Andreas Heinisch committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/fbce18558a58cddf910b788a67c2f2d4d25d68e9 tdf#149402 - BASIC: Don't extend comment if line ends in a whitespace It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Andreas Heinisch committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/ed3d572b730d1873dd66fa2a31695248d506a335 tdf#149402 - BASIC: Don't extend comment if line ends in a whitespace It will be available in 7.3.5. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.