From: Marcelina Koƛcielnicka Date: Mon, 13 Sep 2021 13:38:54 +0000 (+0200) Subject: verilog: Squash flex-triggered warning. X-Git-Tag: yosys-0.10~9 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=551ef85cd74c0d984322990b462a7835c7023dc1;p=yosys.git verilog: Squash flex-triggered warning. --- diff --git a/frontends/verilog/verilog_lexer.l b/frontends/verilog/verilog_lexer.l index 0306f5494..89c1aa895 100644 --- a/frontends/verilog/verilog_lexer.l +++ b/frontends/verilog/verilog_lexer.l @@ -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"