Filter: GCC, don't complain about indentation in generated code.
This commit is contained in:
parent
b40c0f028f
commit
c376555cec
1 changed files with 9 additions and 0 deletions
|
@ -251,6 +251,12 @@ m4_changequote([[,]])
|
||||||
FID_WR_DIRECT(I)
|
FID_WR_DIRECT(I)
|
||||||
FID_WR_PUT(3)
|
FID_WR_PUT(3)
|
||||||
FID_WR_DIRECT(C)
|
FID_WR_DIRECT(C)
|
||||||
|
|
||||||
|
#if defined(__GNUC__) && __GNUC__ >= 6
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wmisleading-indentation"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "nest/bird.h"
|
#include "nest/bird.h"
|
||||||
#include "filter/filter.h"
|
#include "filter/filter.h"
|
||||||
#include "filter/f-inst.h"
|
#include "filter/f-inst.h"
|
||||||
|
@ -382,6 +388,9 @@ FID_WR_PUT(9)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(__GNUC__) && __GNUC__ >= 6
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
FID_WR_DIRECT(H)
|
FID_WR_DIRECT(H)
|
||||||
/* Filter instruction codes */
|
/* Filter instruction codes */
|
||||||
|
|
Loading…
Reference in a new issue