Skip to content

Throw error if a scope mismatch happens - #12

Open
HalidOdat wants to merge 2 commits into
tsoding:masterfrom
HalidOdat:scope-mismatch
Open

Throw error if a scope mismatch happens#12
HalidOdat wants to merge 2 commits into
tsoding:masterfrom
HalidOdat:scope-mismatch

Conversation

@HalidOdat

Copy link
Copy Markdown

This PR fixes #5

Throw a JIM_SCOPE_MISMATCH error if we try to close an array scope with jim_object_end() and vice versa.

Comment thread jim.h
@HalidOdat
HalidOdat requested a review from rexim June 21, 2021 13:25
@theNoof

theNoof commented Aug 21, 2026

Copy link
Copy Markdown

idea: make it jim_scope_end() so you dont have to do that at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants