summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2010-12-12 11:41:55 +0000
committerZefram <zefram@fysh.org>2010-12-13 20:54:52 +0000
commit8e720305f65b4f201f4aef0d72433f29360b876f (patch)
tree2201d6bc359362feaa2bb8bffa4e70164e65ba9a /toke.c
parent3e4ddde58e18d81b358926bde131ebf3c037e8bc (diff)
downloadperl-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index ef14c18155..05ede22f2e 100644
--- a/toke.c
+++ b/toke.c
@@ -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.