+ make feature's optional: -(feature % lit(','))

This commit is contained in:
Artem Pavlenko 2012-06-14 11:49:47 +01:00
parent f35584c8ab
commit de7d3383d1

View file

@ -87,7 +87,7 @@ struct feature_collection_grammar :
features = lit("\"features\"")
> lit(":")
> lit('[')
> feature(_val) % lit(',')
> -(feature(_val) % lit(','))
> lit(']')
;