hare

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

commit d8f236d3d272d949e4882f82085db56b23ce46a4
parent ae008b316b879f4cf0332071cd8d8c8c5679d8dd
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon,  9 May 2022 15:46:09 +0200

encoding::json: license headers

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
Mencoding/json/+test/value.ha | 3+++
Mencoding/json/lex.ha | 2++
Mencoding/json/types.ha | 2++
Mencoding/json/value.ha | 4++--
4 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/encoding/json/+test/value.ha b/encoding/json/+test/value.ha @@ -1,3 +1,6 @@ +// License: MPL-2.0 +// (c) 2022 Drew DeVault <sir@cmpwn.com> + @test fn object() void = { let obj = newobject(); defer finish(obj); diff --git a/encoding/json/lex.ha b/encoding/json/lex.ha @@ -1,3 +1,5 @@ +// License: MPL-2.0 +// (c) 2022 Drew DeVault <sir@cmpwn.com> use ascii; use bufio; use encoding::utf8; diff --git a/encoding/json/types.ha b/encoding/json/types.ha @@ -1,3 +1,5 @@ +// License: MPL-2.0 +// (c) 2022 Drew DeVault <sir@cmpwn.com> use io; // An invalid JSON token was encountered. diff --git a/encoding/json/value.ha b/encoding/json/value.ha @@ -1,7 +1,7 @@ +// License: MPL-2.0 +// (c) 2022 Drew DeVault <sir@cmpwn.com> use hash::fnv; use strings; -use fmt; // XXX TEMP -use types; // TODO: Resize table as appropriate def OBJECT_BUCKETS: size = 32;