hare

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

commit 1422d86a168910fc0f6a2c6ba2da2d9fdc36d3f1
parent b184120fce117a3ced5f5340514541d74eb909f4
Author: Sebastian <sebastian@sebsite.pw>
Date:   Sat, 14 May 2022 22:46:17 -0400

encoding::json: fix doc comments

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

Diffstat:
Mencoding/json/lex.ha | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/encoding/json/lex.ha b/encoding/json/lex.ha @@ -310,7 +310,7 @@ fn scan_escape(lex: *lexer) (rune | error) = { }; }; -// Gets the next rune from the I/O source +// Gets the next rune from the lexer. fn nextrune(lex: *lexer) (rune | io::EOF | error) = { if (lex.rb is rune) { const r = lex.rb as rune; @@ -329,7 +329,7 @@ fn nextrune(lex: *lexer) (rune | io::EOF | error) = { }; }; -// Like nextrune but skips whitespace tokens +// Like nextrune but skips whitespace. fn nextrunews(lex: *lexer) (rune | io::EOF | error) = { for (true) { match (nextrune(lex)?) {