Zebediah Figura (@zfigura) commented about dlls/msado15/filter.y:
+#define COBJMACROS +#include "objbase.h" +#include "msado15_backcompat.h"
+#include "oledb.h" +#include "sqlucode.h"
+#include "msado15_private.h"
+#include "wine/debug.h"
+WINE_DEFAULT_DEBUG_CHANNEL(msado15);
+void yyerror(parser_param* param, void const* scanner, char const* msg); +parser_param* yyget_extra ( void* yyscanner ); +int yylex(void *yylval, void *scanner);
In vkd3d-shader, we use %code provides for the declaration of yylex(), to ensure that it agrees with the definition that flex generates. You may consider doing that as well.