Update crates/aiken-lang/src/parser.rs

Co-authored-by: Matthias Benkort <5680256+KtorZ@users.noreply.github.com>
This commit is contained in:
Lucas 2023-03-17 09:45:25 -04:00 committed by rvcas
parent 3d92772d23
commit 950598b534
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
1 changed files with 1 additions and 2 deletions

View File

@ -299,8 +299,7 @@ pub fn validator_parser() -> impl Parser<Token, ast::UntypedDefinition, Error =
vec![],
Span {
start: 0,
// just needs to be the word `validator` at this point
end: span.start + 9,
end: span.start + "validator".len(),
},
));