Commit d28b118d authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix MSVC warning with bison 3.8.2

parent d5a15f04
...@@ -69,7 +69,8 @@ ...@@ -69,7 +69,8 @@
/* this is to get the bison compilation windows warnings out */ /* this is to get the bison compilation windows warnings out */
#ifdef _MSC_VER #ifdef _MSC_VER
/* warning C4065: switch statement contains 'default' but no 'case' labels */ /* warning C4065: switch statement contains 'default' but no 'case' labels */
#pragma warning (disable : 4065) /* warning C4102: 'yyexhaustedlab': unreferenced label */
#pragma warning (disable : 4065 4102)
#endif #endif
#ifdef __GNUC__ #ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wunused-label" /* yyexhaustedlab: */ #pragma GCC diagnostic ignored "-Wunused-label" /* yyexhaustedlab: */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment