Skip to content

Commit

Permalink
Update crates/aiken-lang/src/parser.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Benkort <5680256+KtorZ@users.noreply.github.com>
  • Loading branch information
rvcas and KtorZ committed Mar 17, 2023
1 parent f10fd92 commit 1f4eb4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/aiken-lang/src/parser.rs
Expand Up @@ -301,8 +301,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(),
},
));

Expand Down

0 comments on commit 1f4eb4c

Please sign in to comment.