Zerberus: a comment at the end of a line causes the region to not play

• Jun 11, 2018 - 00:38
Reported version
2.3
Type
Functional
Severity
S4 - Minor
Status
closed
Project

If there is a comment at the end of a line, like so:

<region> sample=saw.wav //comment

...the region fails to play at all. A comment at the end of a line shouldn't invalidate the entire line.

I have also attached a MuseScore file for testing. Currently, playing the project results in silence, but when this bug is fixed, you will hear two wood block hits.

Attachment Size
Zerberus_volume_test_02.zip 28.23 KB

Comments

Status (old) active fixed
Status active fixed

Fixed in branch 2.3, commit bc44f3f996

fix #273241: incorrect loading sample when use comment line

Trailing whitespace before the comment was recognized as a part of the sample path and loading sample was failed.

Fixed in branch master, commit ea2470d067

fix #273241: incorrect loading sample when use comment line

Trailing whitespace before the comment was recognized as a part of the sample path and loading sample was failed.