hare

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

commit 0ec16736fd23f8094c1ccc0736d211ec812c61fa
parent ff90349542595d85b54597d35849f4dbc47539ed
Author: Sebastian <sebastian@sebsite.pw>
Date:   Fri, 27 May 2022 22:24:00 -0400

Export BUCKETS constants

These are used in the definitions of exported types, so the constants
should also be exported.

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

Diffstat:
Mencoding/json/value.ha | 2+-
Mhare/types/store.ha | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/encoding/json/value.ha b/encoding/json/value.ha @@ -4,7 +4,7 @@ use hash::fnv; use strings; // TODO: Resize table as appropriate -def OBJECT_BUCKETS: size = 32; +export def OBJECT_BUCKETS: size = 32; export type object = struct { buckets: [OBJECT_BUCKETS][](str, value), diff --git a/hare/types/store.ha b/hare/types/store.ha @@ -7,7 +7,7 @@ use hare::ast; use sort; use strings; -def BUCKETS: size = 65535; +export def BUCKETS: size = 65535; // A function which evaluates a [[hare::ast::expr]], providing either a size // result or an error.