Skip to content

Compiler sometimes drops MML after encountering syntax error without reporting it  #27

@atsushieno

Description

@atsushieno

Similar issue, to issue #25, but probably different:

1 @58 o3 80  o5c

There is a syntax error at 80 but it is not reported as an error.

    fun tokenizerShouldReportError() {
        val mml = "1 @58 o3 80  o5c"
        assertFails("should report syntax error at orphan number token") { MmlTestUtility.testCompile2("midi2", mml) }
        assertFails("should report syntax error at orphan number token") { MmlTestUtility.testCompile("midi1", mml) }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions