jaystack / odata-v4-parser

OData v4 parser
38 stars 41 forks source link

Failing $filter parser scenarios #1

Closed PeterAronZentai closed 8 years ago

PeterAronZentai commented 8 years ago
lazarv commented 8 years ago

Error in substring parse caused by bad string literal parsing is fixed now. Use 1 add 1, add is not a method call expression. It was parsed as a member expression (add is a valid member expression), now throws error on unexpected token (which was a key value pair). substringof is not in the OData v4 standard ABNF, but it's included now in the parser.