This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e2d740
)
intrvar.h: document PL_tmps_max
author
David Mitchell
<davem@iabyn.com>
Sun, 8 Nov 2015 20:08:20 +0000
(20:08 +0000)
committer
David Mitchell
<davem@iabyn.com>
Wed, 3 Feb 2016 09:18:33 +0000
(09:18 +0000)
Its name implies that it's the top allocated element; in fact it's top+1.
intrpvar.h
patch
|
blob
|
blame
|
history
diff --git
a/intrpvar.h
b/intrpvar.h
index
e54f53e
..
4f558a8
100644
(file)
--- a/
intrpvar.h
+++ b/
intrpvar.h
@@
-51,7
+51,7
@@
PERLVAR(I, scopestack_max, I32)
PERLVAR(I, tmps_stack, SV **) /* mortals we've made */
PERLVARI(I, tmps_ix, SSize_t, -1)
PERLVARI(I, tmps_floor, SSize_t, -1)
-PERLVAR(I, tmps_max, SSize_t)
+PERLVAR(I, tmps_max, SSize_t)
/* first unalloced slot in tmps stack */
PERLVARI(I, sub_generation, U32, 1) /* incr to invalidate method cache */