aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
%}