summaryrefslogtreecommitdiff
path: root/perly.h
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2010-10-16 22:22:57 +0100
committerFather Chrysostomos <sprout@cpan.org>2010-10-23 23:25:21 -0700
commit5f211341d665e81a03fbd4935e4e87f70d937fc3 (patch)
tree154fcb4845377ffc122e365199a98db48478c3ab /perly.h
parent74401f9c0e7d7248493d3f2bb0f4fdb0b20a92aa (diff)
downloadperl-5f211341d665e81a03fbd4935e4e87f70d937fc3.tar.gz
permit labels to appear before declarations
Include <label> in productions before <decl> and <package_block>. This means that labels can now appear at the beginning of all statement-like things. There was no technical reason for the restriction of labels to substantive statements, and that restriction in any case couldn't be applied to PLUGSTMT-based plugged-in declarations.
Diffstat (limited to 'perly.h')
-rw-r--r--perly.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perly.h b/perly.h
index b3a5595ac9..5c1bd951c2 100644
--- a/perly.h
+++ b/perly.h
@@ -219,7 +219,7 @@ typedef union YYSTYPE
TOKEN* tkval;
#endif
}
-/* Line 1529 of yacc.c. */
+/* Line 1489 of yacc.c. */
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1