aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/lex.layout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/lex.layout.cpp')
-rw-r--r--src/sksl/lex.layout.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sksl/lex.layout.cpp b/src/sksl/lex.layout.cpp
index 1d03e29cf8..4289b110d9 100644
--- a/src/sksl/lex.layout.cpp
+++ b/src/sksl/lex.layout.cpp
@@ -7,3 +7,6 @@
#include "disable_flex_warnings.h"
#include "lex.layout.c"
+static_assert(YY_FLEX_MAJOR_VERSION * 100 + YY_FLEX_MINOR_VERSION * 10 +
+ YY_FLEX_SUBMINOR_VERSION >= 261,
+ "we require Flex 2.6.1 or better for security reasons");