breese / trial.protocol

Network wire protocols
11 stars 4 forks source link

When is `json::token::symbol::separator` supposed to be emitted? #3

Closed vinipsmaker2 closed 7 years ago

vinipsmaker2 commented 7 years ago

I did several small tests and I don't get when this token could help me in my logic. It's never emitted in my tests (I didn't grep through the code to know where it's being used).

breese commented 7 years ago

The separator symbol is internal so the user will never see it. It is used in the interaction between json::reader and its internal lexer json::detail::decoder.

I should probably hide it somehow from the public API.

vinipsmaker2 commented 7 years ago

I should probably hide it somehow from the public API.

Yes, you should.

breese commented 7 years ago

Fixed in e8af9fab9394d2758f8bac97523f0af4e3285023