summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMightyjo <mightyjo@gmail.com>2021-01-30 15:43:23 -0500
committerJoseph Langley <mightyjo@gmail.com>2021-06-09 21:46:00 -0400
commite61f190ef6d44e317bf4c28ec48c21779efab746 (patch)
tree0ae0e5749aabd5cea536fd7261217c17ec33d3f8 /src
parent379af7681d10ae78f4f334ec555d1f9e64123361 (diff)
downloadflex-git-e61f190ef6d44e317bf4c28ec48c21779efab746.tar.gz
Ensure size of Reject state buffer is sufficient each time yy_switch_to_buffer is called.
Diffstat (limited to 'src')
-rw-r--r--src/FlexLexer.h1
-rwxr-xr-x[-rw-r--r--]src/gen.c0
2 files changed, 1 insertions, 0 deletions
diff --git a/src/FlexLexer.h b/src/FlexLexer.h
index ccd9eeb..9b54949 100644
--- a/src/FlexLexer.h
+++ b/src/FlexLexer.h
@@ -202,6 +202,7 @@ protected:
yy_state_type* yy_state_buf;
yy_state_type* yy_state_ptr;
+ size_t yy_state_buf_max;
char* yy_full_match;
int* yy_full_state;
diff --git a/src/gen.c b/src/gen.c
index d6d3f9b..d6d3f9b 100644..100755
--- a/src/gen.c
+++ b/src/gen.c