diff options
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -44,7 +44,9 @@ typedef struct yy_parser { int yylen; /* length of active reduction */ yy_stack_frame *stack; /* base of stack */ - yy_stack_frame *stack_max1;/* (top-1)th element of alloacted stack */ + yy_stack_frame *stack_maxbase;/* (stack + alloced size - YY_MAXRULE) + * it's offset by -YY_MAXRULE to make + * overflow checks quicker */ yy_stack_frame *ps; /* current stack frame */ /* lexer state */ |