diff options
Diffstat (limited to 'src/wast-lexer.cc')
-rw-r--r-- | src/wast-lexer.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wast-lexer.cc b/src/wast-lexer.cc index bc781589..8f5053ce 100644 --- a/src/wast-lexer.cc +++ b/src/wast-lexer.cc @@ -29,7 +29,14 @@ namespace wabt { namespace { +#if __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wimplicit-fallthrough" +#endif #include "prebuilt/lexer-keywords.cc" +#if __clang__ +#pragma clang diagnostic pop +#endif } // namespace |