Fixed comment
[yaz-moved-to-github.git] / src / rpn2cql.c
index 2187838..09e137b 100644 (file)
@@ -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);