verilog: Squash flex-triggered warning.

This commit is contained in:
Marcelina Kościelnicka 2021-09-13 15:38:54 +02:00
parent 1d52c07e9b
commit 551ef85cd7
1 changed files with 2 additions and 0 deletions

View 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"