hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit d1cf40891bc75c036e9ce60ab5bc9cfad32baf74
parent 2ac7218be65ab79124cb9d396efe050b7a5f9af0
Author: Bor Grošelj Simić <bgs@turminal.net>
Date:   Sat, 13 Apr 2024 11:08:33 +0200

regex: fix typos in error messages

Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>

Diffstat:
Mregex/regex.ha | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/regex/regex.ha b/regex/regex.ha @@ -434,7 +434,7 @@ fn parse_repetition( min = match (strconv::stoi(min_str)) { case let res: int => yield if (res < 0) { - return `Negative repitition count '{-n}'`: error; + return `Negative repetition count '{-n}'`: error; } else { yield res: size; }; @@ -448,7 +448,7 @@ fn parse_repetition( max = match (strconv::stoi(max_str)) { case let res: int => yield if (res < 0) { - return `Negative repitition count '{-n}'`: error; + return `Negative repetition count '{-n}'`: error; } else { yield res: size; };