fixed err description

This commit is contained in:
alessandrokonrad 2022-10-17 12:23:12 +02:00 committed by Lucas
parent ad542a68e8
commit a83c731eb1
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ peg::parser! {
= n:$("-"* ['0'..='9']+) {? n.parse().or(Err("isize")) }
rule big_number() -> i128
= n:$("-"* ['0'..='9']+) {? n.parse().or(Err("isize")) }
= n:$("-"* ['0'..='9']+) {? n.parse().or(Err("i128")) }
rule constant_data() -> Constant
= "data" _+ "#" i:ident()* {