If value dash (-) is tiven as properties name, the cql2pqf program
will use no properties file.. Ie just cql_transform_create rather than
cql_transform_open_fname. This allows us to test RPN to CQL conversion
with no properties file (-r).
}
if (!fname)
usage();
- ct = cql_transform_open_fname(fname);
+ if (!strcmp(fname, "-"))
+ ct = cql_transform_create();
+ else
+ ct = cql_transform_open_fname(fname);
if (!ct)
{
fprintf(stderr, "failed to read properties %s\n", fname);