verilog: Squash flex-triggered warning.
authorMarcelina Kościelnicka <mwk@0x04.net>
Mon, 13 Sep 2021 13:38:54 +0000 (15:38 +0200)
committerMarcelina Kościelnicka <mwk@0x04.net>
Mon, 13 Sep 2021 16:58:17 +0000 (18:58 +0200)
frontends/verilog/verilog_lexer.l

index 0306f5494b3728482d4a69f5f4a8bc1a31c6ff2a..89c1aa895290ccb1ab7792c7c272a15435c4ddf3 100644 (file)
@@ -37,6 +37,8 @@
 #ifdef __clang__
 // bison generates code using the 'register' storage class specifier
 #pragma clang diagnostic ignored "-Wdeprecated-register"
+// flex generates weirdly-indented code
+#pragma clang diagnostic ignored "-Wmisleading-indentation"
 #endif
 
 #include "kernel/log.h"