-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing of collections, short values.
This fixes a regression introduced in c730bdf in which an unterminated collection string (e.g. "[") would cause the parser to loop infinitely. It also fixes a regression in which the parser would discard the latter part of a string if the earlier part parsed as a valid value while the latter did not, e.g. " [discarded" in "okay [discarded". Fixes #120.
- Loading branch information
1 parent
3f9f333
commit ebf6d86
Showing
1 changed file
with
43 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters