diff options
author | 2017-03-31 17:06:42 -0400 | |
---|---|---|
committer | 2017-04-03 15:40:35 +0000 | |
commit | 94421943818126921cf9fd3337f372e9f377bd16 (patch) | |
tree | 806bb302f2c850045ba5da489c1ef5407601964a /src/sksl/lex.layout.cpp | |
parent | e6844834087cf9113c64fb638be3945049cf0f47 (diff) |
skslc now uses a more recent version of Flex
Bug: 6447
Change-Id: Ie1cb674752442a8992dd247abb2bcace8497c1f4
Reviewed-on: https://skia-review.googlesource.com/11014
Reviewed-by: Ben Wagner <benjaminwagner@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/lex.layout.cpp')
-rw-r--r-- | src/sksl/lex.layout.cpp | 3 |
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"); |