4 Commits

Author SHA1 Message Date
John Stiles
bf19c1a0be Remove switch
GCC and Clang cannot agree on what constitutes a good switch statement.
2017-03-13 07:40:51 -07:00
John Stiles
e7fd707698 Improve LookaheadParser
Fix clang -Wswitch-enum warnings.
Made NextArrayValue() more robust—now handles error state correctly,
will enter error state if an unexpected state is reached.
Made separate states for each value type to simplify getters.
Simplified implementation of skipping arrays and objects.
Skipping an object now works whether you’ve retrieved the key or not.
2017-03-13 00:33:10 -07:00
StilesCrisis
8da89f54bd Fix GCC warning 2017-03-08 01:16:19 -08:00
StilesCrisis
d4669bbc8e Add lookahead parser example 2017-03-08 01:08:41 -08:00