Update crates/aiken-lang/src/parser.rs
Co-authored-by: Matthias Benkort <5680256+KtorZ@users.noreply.github.com>
This commit is contained in:
parent
3d92772d23
commit
950598b534
|
@ -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(),
|
||||
},
|
||||
));
|
||||
|
||||
|
|
Loading…
Reference in New Issue