hare

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

commit 737394608abf8c0a418b1c3725f9b05da8bef0f3
parent 7174b76ad5b7213341bb561020f250b4cf6eb517
Author: Sebastian <sebastian@sebsite.pw>
Date:   Thu, 21 Apr 2022 15:51:12 -0400

haredoc: test parseident with keyword

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mcmd/haredoc/main.ha | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/cmd/haredoc/main.ha b/cmd/haredoc/main.ha @@ -344,4 +344,5 @@ fn emit(ctx: *context) (void | error) = { assert(parseident("hare::lex") is ast::ident); assert(parseident("strings::dup*{}&@") is parse::error); assert(parseident("foo::bar::") is parse::error); + assert(parseident("rt::abort") is ast::ident); };