summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2010-10-13 21:48:49 +0100
committerFather Chrysostomos <sprout@cpan.org>2010-10-21 05:52:57 -0700
commit8eaa0acf70f47cc5d3ed085b62e8d46cbc245651 (patch)
treeedc0d68a0337b2dd2ead7f97324e5f304f65d4b3 /perl.c
parent805700c1a37c475915b7e2c565a2b4ac1dbe5a97 (diff)
downloadperl-8eaa0acf70f47cc5d3ed085b62e8d46cbc245651.tar.gz
add lex_start to the API
lex_start() is added to the API, marked experimental, and documented. It also gains a flags parameter for foreseeable future use.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index 962b046314..95517bb239 100644
--- a/perl.c
+++ b/perl.c
@@ -2152,7 +2152,7 @@ S_parse_body(pTHX_ char **env, XSINIT_t xsinit)
}
#endif
- lex_start(linestr_sv, rsfp);
+ lex_start(linestr_sv, rsfp, 0);
PL_subname = newSVpvs("main");
if (add_read_e_script)