Revert "Bison: use %name-prefix directive rather than -p option"
[yaz-moved-to-github.git] / win / makefile
index b1b346f..35d0515 100644 (file)
@@ -878,7 +878,7 @@ $(INCLDIR)\yaz\yaz-version.h: $(ROOTDIR)/IDMETA
 !if $(HAVE_BISON)
 $(SRCDIR)\cql.c: $(SRCDIR)\cql.y
        @cd $(SRCDIR)
 !if $(HAVE_BISON)
 $(SRCDIR)\cql.c: $(SRCDIR)\cql.y
        @cd $(SRCDIR)
-       $(BISON) -y -o cql.c cql.y
+       $(BISON) -y -p cql_ -o cql.c cql.y
 
 !endif
 
 
 !endif