paiden / Nett

.Net library for TOML
MIT License
223 stars 27 forks source link

Nett fails to parse escaped quote. #57

Closed Splamy closed 6 years ago

Splamy commented 6 years ago

Using current master (c334f6edf3e3ef05da569a197ad851d61fb41824)

The following text fails to parse: a="\"" This only affects strings starting with \".

I think the problem lies within Lexer.LexString consuming the \ ignoring that it is an escape character for the next one.

paiden commented 6 years ago

Thx for this fix and the tests.