Silence a warning about unused Bison label

This commit is contained in:
Marko Mäkelä 2021-09-21 18:02:04 +03:00
parent ac1c6738f9
commit 21d19ed45b

View file

@ -71,6 +71,9 @@
/* warning C4065: switch statement contains 'default' but no 'case' labels */
#pragma warning (disable : 4065)
#endif
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wunused-label" /* yyexhaustedlab: */
#endif
int yylex(void *yylval, void *yythd);