summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-04-19 13:39:51 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-04-19 13:39:51 +0100
commit5a7b3616f6ca573dfa312266754d596e113ac1aa (patch)
tree0fa59f7a031b486822f044dc20539ca8625573dc
parentRemove random debug (diff)
downloadproject2-5a7b3616f6ca573dfa312266754d596e113ac1aa.tar.bz2
project2-5a7b3616f6ca573dfa312266754d596e113ac1aa.tar.xz
project2-5a7b3616f6ca573dfa312266754d596e113ac1aa.zip
Disable error on implicit-fallthrough for generated code
-rw-r--r--project2/files/configuration.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/project2/files/configuration.ll b/project2/files/configuration.ll
index aa04456..65ed4da 100644
--- a/project2/files/configuration.ll
+++ b/project2/files/configuration.ll
@@ -10,6 +10,7 @@
%{
#include "configFlexLexer.h"
#pragma GCC diagnostic ignored "-Wsign-compare"
+#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
%}
element [a-zA-Z][a-zA-Z0-9_-]*