diff options
Diffstat (limited to 'libbutl/json/serializer.cxx')
-rw-r--r-- | libbutl/json/serializer.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbutl/json/serializer.cxx b/libbutl/json/serializer.cxx index 84941ed..0e8b566 100644 --- a/libbutl/json/serializer.cxx +++ b/libbutl/json/serializer.cxx @@ -283,6 +283,8 @@ namespace butl // Fall through. case event::number: { + // Note: this event is also used by value_json_text(). + if (st != nullptr && name_expected (*st)) goto fail_unexpected_event; |