summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2010-10-24 03:13:39 +0100
committerFather Chrysostomos <sprout@cpan.org>2010-10-25 12:29:47 -0700
commit8359b381d0e4b7d1489abafb919f3c2a465401a4 (patch)
tree50b3187c01fbea29c0ffe65bda449ef0419a690d /proto.h
parent94bf0465170f13a4a3114b27d564dc2287d466b2 (diff)
downloadperl-8359b381d0e4b7d1489abafb919f3c2a465401a4.tar.gz
function to parse unlabelled statement
New API function parse_barestmt() parses a pure statement, with no label, and returns just the statement's core ops, not attaching a state op.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 37f4703fbb..415e61c8cf 100644
--- a/proto.h
+++ b/proto.h
@@ -2765,6 +2765,7 @@ PERL_CALLCONV void Perl_pad_undef(pTHX_ CV* cv)
#define PERL_ARGS_ASSERT_PAD_UNDEF \
assert(cv)
+PERL_CALLCONV OP* Perl_parse_barestmt(pTHX_ U32 flags);
PERL_CALLCONV OP* Perl_parse_block(pTHX_ U32 flags);
PERL_CALLCONV OP* Perl_parse_fullstmt(pTHX_ U32 flags);
PERL_CALLCONV OP* Perl_parse_stmtseq(pTHX_ U32 flags);