diff options
Diffstat (limited to 'lib/command_parse.y')
| -rw-r--r-- | lib/command_parse.y | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/command_parse.y b/lib/command_parse.y index 8867e98ccc..6758aed142 100644 --- a/lib/command_parse.y +++ b/lib/command_parse.y @@ -158,6 +158,14 @@ ctx->docstr_start = ctx->docstr; } +%{ +#ifdef __clang__ +# if __clang_major__ > 12 +# pragma GCC diagnostic ignored "-Wunused-but-set-variable" +# endif +#endif +%} + %% start: |
