Skip to content

Commit 7677251

Browse files
authored
feat(lexers/hare): add done keyword (alecthomas#979)
Adds the `done` keyword described in [this blog post](https://harelang.org/blog/2024-04-01-introducing-for-each-loops-in-hare/) and introduced in [0.24.2-rc1](https://lists.sr.ht/~sircmpwn/hare-dev/%[email protected]%3E).
1 parent d1034f8 commit 7677251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lexers/embedded/hare.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<token type="Punctuation" />
8585
</bygroups>
8686
</rule>
87-
<rule pattern="(str|size|rune|bool|int|uint|uintptr|u8|u16|u32|u64|i8|i16|i32|i64|f32|f64|null|void|nullable|valist|opaque|never)\b">
87+
<rule pattern="(str|size|rune|bool|int|uint|uintptr|u8|u16|u32|u64|i8|i16|i32|i64|f32|f64|null|void|done|nullable|valist|opaque|never)\b">
8888
<token type="KeywordType"/>
8989
</rule>
9090
<rule pattern="(true|false)\b">

0 commit comments

Comments
 (0)