diff options
author | Zefram <zefram@fysh.org> | 2010-12-12 11:41:55 +0000 |
---|---|---|
committer | Zefram <zefram@fysh.org> | 2010-12-13 20:54:52 +0000 |
commit | 8e720305f65b4f201f4aef0d72433f29360b876f (patch) | |
tree | 2201d6bc359362feaa2bb8bffa4e70164e65ba9a /toke.c | |
parent | 3e4ddde58e18d81b358926bde131ebf3c037e8bc (diff) | |
download | perl-8e720305f65b4f201f4aef0d72433f29360b876f.tar.gz |
permit labels to be stacked
Liberalise label syntax a little more, by allowing multiple adjacent
labels with no intervening statements, as in "foo: bar: baz:".
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14579,7 +14579,7 @@ Perl_parse_label(pTHX_ U32 flags) Parse a single complete Perl statement. This may be a normal imperative statement or a declaration that has compile-time effect, and may include -an optional label. It is up to the caller to ensure that the dynamic +optional labels. It is up to the caller to ensure that the dynamic parser state (L</PL_parser> et al) is correctly set to reflect the source of the code to be parsed and the lexical context for the statement. |