Source restructure. yaz-marcdump part of installation
[yaz-moved-to-github.git] / cql / cql2xcql.c
diff --git a/cql/cql2xcql.c b/cql/cql2xcql.c
deleted file mode 100644 (file)
index b2db2e5..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/* $Id: cql2xcql.c,v 1.1 2003-01-06 08:20:27 adam Exp $
-   Copyright (C) 2002-2003
-   Index Data Aps
-
-This file is part of the YAZ toolkit.
-
-See the file LICENSE.
-*/
-
-#include <stdio.h>
-
-#include <yaz/cql.h>
-
-int main(int argc, char **argv)
-{
-    int r;
-    CQL_parser cp = cql_parser_create();
-    if (argc == 2)
-        r = cql_parser_string(cp, argv[1]);
-    else
-        r = cql_parser_stdio(cp, stdin);
-    if (r)
-        fprintf (stderr, "Syntax error\n");
-    else
-        cql_to_xml_stdio(cql_parser_result(cp), stdout);
-    cql_parser_destroy(cp);
-    return 0;
-}