This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
initialisation of simple aggregate state variables
authorZefram <zefram@fysh.org>
Sat, 4 Nov 2017 21:43:59 +0000 (21:43 +0000)
committerZefram <zefram@fysh.org>
Sat, 4 Nov 2017 21:46:47 +0000 (21:46 +0000)
commitf99042c89715fdc05bfe40e3f190da7a47d83891
tree4e4de444850d3ab6461b1681c00c279ea2d836c2
parent83a320f0d0fe3db391dfcf22a7c7d77ab781d019
initialisation of simple aggregate state variables

We now recognise the basic cases of aggregate state variables, to
permit initialisations of the form "state @a =" or "state @a :shared =".
Initialisation of state variable lists remains forbidden, because the
op flags don't let us distinguish "state(...)" from "(state(...))" in
most cases.
op.c
pod/perldelta.pod
pod/perldiag.pod
pod/perlfunc.pod
pod/perlsub.pod
t/lib/croak/op
t/op/state.t