diff options
author | David Mitchell <davem@iabyn.com> | 2016-12-03 14:01:19 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-12-05 11:54:03 +0000 |
commit | 0e0707c5741b52ed1f26e1f69d89b66a1b05f985 (patch) | |
tree | 4d6dd171e310f637b0b9cf33d63efbd1555167fb /sv.c | |
parent | a14be3eb83c92f38596c3a429d631615e84e660b (diff) | |
download | perl-0e0707c5741b52ed1f26e1f69d89b66a1b05f985.tar.gz |
optimising yyparse: replace stack_size with a ptr
Makes testing whether the parser stack needs extending cheaper
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13130,7 +13130,7 @@ Perl_parser_dup(pTHX_ const yy_parser *const proto, CLONE_PARAMS *const param) parser->old_parser = NULL; parser->stack = NULL; parser->ps = NULL; - parser->stack_size = 0; + parser->stack_max1 = 0; /* XXX parser->stack->state = 0; */ /* XXX eventually, just Copy() most of the parser struct ? */ |