projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d52c07
)
verilog: Squash flex-triggered warning.
author
Marcelina Kościelnicka
<mwk@0x04.net>
Mon, 13 Sep 2021 13:38:54 +0000
(15:38 +0200)
committer
Marcelina Kościelnicka
<mwk@0x04.net>
Mon, 13 Sep 2021 16:58:17 +0000
(18:58 +0200)
frontends/verilog/verilog_lexer.l
patch
|
blob
|
history
diff --git
a/frontends/verilog/verilog_lexer.l
b/frontends/verilog/verilog_lexer.l
index 0306f5494b3728482d4a69f5f4a8bc1a31c6ff2a..89c1aa895290ccb1ab7792c7c272a15435c4ddf3 100644
(file)
--- 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"