summaryrefslogtreecommitdiff
path: root/embed.fnc
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 /embed.fnc
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 'embed.fnc')
-rw-r--r--embed.fnc1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 5dce84b376..43d2a17c7d 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -624,6 +624,7 @@ AMpd |I32 |lex_read_unichar|U32 flags
AMpd |void |lex_read_space |U32 flags
: Public parser API
AMpd |OP* |parse_block |U32 flags
+AMpd |OP* |parse_barestmt |U32 flags
AMpd |OP* |parse_fullstmt |U32 flags
AMpd |OP* |parse_stmtseq |U32 flags
: Used in various files