when (for example) the node is corrupted by its parser being freed
before it's passed into the translation function ... a classic C-style
bug that's taken much of this evening to find and fix. Defensive
programming, guys ...
-/* $Id: cqltransform.c,v 1.16 2005-06-27 22:03:59 adam Exp $
+/* $Id: cqltransform.c,v 1.17 2005-12-21 00:04:14 mike Exp $
Copyright (C) 1995-2005, Index Data ApS
Index Data Aps
cql_transform_r(ct, cn->u.boolean.left, pr, client_data);
cql_transform_r(ct, cn->u.boolean.right, pr, client_data);
+
+ default:
+ fprintf(stderr, "Fatal: impossible CQL node-type %d\n", cn->which);
+ abort();
}
}