couchbaselabs / gojsonsm

Go implementation of my JSONSM algorithm.
9 stars 7 forks source link

Fixes #113 - negative numbers were not parsed correctly as values #114

Closed nelio2k closed 5 years ago

nelio2k commented 5 years ago

Participle parses the negative sign as a single token and so we need to capture it for math values parsing. The negative sign could apply to math functions as well.