Port regression/randomized testing to JUnit
[cql-java-moved-to-github.git] / src / main / java / org / z3950 / zing / cql / CQLParser.java
index d577cd9..72a39a3 100644 (file)
@@ -59,7 +59,7 @@ public class CQLParser {
      * @param allowKeywordTerms when false registered keywords are disallowed in unquoted terms
      */
     public CQLParser(int compat, boolean allowKeywordTerms) {
-       this.compat = V1POINT2;
+       this.compat = compat;
         this.allowKeywordTerms = allowKeywordTerms;
     }