-
Notifications
You must be signed in to change notification settings - Fork 579
Closed
Description
Found with the new fuzz testing setup!
This input export\x09AA
causes the Lexer to fail.
extern crate just;
fn lex_and_parse<'a>(input: &'a str) -> Result<(), just::CompilationError<'a>> {
let tokens = just::Lexer::lex(input)?;
let parser = just::Parser::new(input, tokens);
let _justfile = parser.justfile()?;
Ok(())
}
fn main() {
let input = "export AA";
lex_and_parse(&input);
}
Metadata
Metadata
Assignees
Labels
No labels