Skip to content

Comments with a semi-colon in the body them seem to fail #365

@github-actions

Description

@github-actions

Line: 220

// category=Toolchain
// TODO: Comments with nothing after the semicolon currently fail
// category=Toolchain
// TODO: Comments with a semi-colon in the body them seem to fail
map(pair(char(';'), cut(is_not("\n\r"))), |(_, text)| {
Token::Comment(String::from(text))
})(i)
}
fn parse_comment(i: &str) -> AsmResult<Token> {
lexeme(parse_comment_)(i)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions