Fix crash in record conv rule select YAZ-812
[yaz-moved-to-github.git] / src / cql.y
index 324c3e7..ed5735d 100644 (file)
--- a/src/cql.y
+++ b/src/cql.y
 #endif
 #include <stdio.h>
 #include <stdlib.h>
+/* avoid that bison stuff defines malloc/free - already in stdlib.h */
+#ifdef _MSC_VER
+#define _STDLIB_H 1
+#endif
 #include <string.h>
 #include <yaz/yaz-iconv.h>
 #include <yaz/xmalloc.h>
@@ -55,7 +59,6 @@ int yyerror(void *lval, char *msg);
 %}
 
 
-%name-prefix "cql_"
 %lex-param {void *parm}
 %parse-param {void *parm}
 %pure-parser