aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-12 18:21:09 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-12 18:21:09 +0200
commit82a3052c513ea9f5a5d9b2a3e9917ff446f7dc16 (patch)
treeb7a87f8f3428ebeaaa1a6e4a42a6f62f748364c0
parent9756eb66349f8a96fffd788894f198041847c727 (diff)
Silence warnings outside of our control
-rw-r--r--src/lexer.l3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lexer.l b/src/lexer.l
index 5317966..3e7032a 100644
--- a/src/lexer.l
+++ b/src/lexer.l
@@ -25,6 +25,9 @@
yylloc.last_column = 1; \
} while (false) \
+/* Silence warnings in the generated lexer */
+#pragma GCC diagnostic ignored "-Wsign-compare"
+
extern bool interactive, utf8;
extern const char *current_file;
%}