zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 698c52e7961a78e68be39f4a6216f5c3d55f4f3f (tree)
parent bfbe26734d4167977fff0d675ff55c68d75dd3be
Author: Marc Tiehuis <marctiehuis@gmail.com>
Date:   Tue, 22 May 2018 15:32:17 +1200

Make StreamingJsonParser public

Diffstat:
Mstd/json.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/std/json.zig b/std/json.zig @@ -86,7 +86,7 @@ pub const Token = struct { // parsing state requires ~40-50 bytes of stack space. // // Conforms strictly to RFC8529. -const StreamingJsonParser = struct { +pub const StreamingJsonParser = struct { // Current state state: State, // How many bytes we have counted for the current token