better rules names

This commit is contained in:
artemp 2014-10-07 11:21:05 +01:00
parent 41009bfeb3
commit 5990eecec5
2 changed files with 4 additions and 4 deletions

View file

@ -113,8 +113,8 @@ feature_grammar<Iterator,FeatureType,ErrorHandler>::feature_grammar(mapnik::tran
attribute_value %= json_.number | json_.string_ ;
feature.name("Feature");
feature_type.name("Feature Type");
properties.name("Properties");
feature_type.name("type");
properties.name("properties");
attributes.name("Attributes");
attribute_value.name("Attribute Value");

View file

@ -84,8 +84,8 @@ geometry_grammar<Iterator, ErrorHandler>::geometry_grammar()
// give some rules names
geometry.name("Geometry");
geometry_collection.name("GeometryCollection");
geometry_type_dispatch.name("Geometry type");
coordinates.name("Coordinates");
geometry_type_dispatch.name("type");
coordinates.name("coordinates");
// error handler
on_error<fail>(start, error_handler(_1, _2, _3, _4));
}