X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Frpn2cql.c;h=09e137bed797a6b5cfd91a6cb4a1643113b238e4;hp=21878384ba71a600573b456ff58eb9c48c4e6c13;hb=04a74288b3dc52703d09528428842f186ec78e43;hpb=e5ae7bef1ef7d79a07a89f329e6b603d40a44c7f diff --git a/src/rpn2cql.c b/src/rpn2cql.c index 2187838..09e137b 100644 --- a/src/rpn2cql.c +++ b/src/rpn2cql.c @@ -59,10 +59,9 @@ static const char *lookup_relation_index_from_attr(Z_AttributeList *attributes) { /* Only support for numeric relation */ Odr_int *relation = ae->value.numeric; - /* map this numeric to represetation in cql */ + /* map this numeric to representation in CQL */ switch (*relation) { - /* Unsure on whether this is the relation attribute - const? */ + /* Unsure on whether this is the relation attribute constants? */ case Z_ProximityOperator_Prox_lessThan: return "<"; case Z_ProximityOperator_Prox_lessThanOrEqual: @@ -119,7 +118,7 @@ static int rpn2cql_attr(cql_transform_t ct, if (!index) index = lookup_index_from_string_attr(attributes); - /* Attempt to fix bug #2978): Look for a relation attribute */ + /* Attempt to fix bug #2978: Look for a relation attribute */ if (!relation) relation = lookup_relation_index_from_attr(attributes);