Skip to content

grammar for [u8] support bytes literal #380

@A4-Tacks

Description

@A4-Tacks
peg::parser!(grammar g() for [u8] {
    rule x() = b"\xff" // invalid UTF-8, can not use str
});

b"\xff" is not valid UTF-8

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