summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-11-14 21:00:23 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-14 21:00:23 +0000
commitee2f7564be77581fd9f8286aa19a5636c1c1d015 (patch)
treeec4c39432c11fb15a56fccf782b27c0c18f7681b /toke.c
parenta57276195f41851b5b1a611ec714f657a51fe543 (diff)
downloadperl-ee2f7564be77581fd9f8286aa19a5636c1c1d015.tar.gz
Add comments to mark where $^X is being handled.
p4raw-id: //depot/perl@13000
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 b5e6b9caa2..1657f1ec34 100644
--- a/toke.c
+++ b/toke.c
@@ -2598,7 +2598,7 @@ Perl_yylex(pTHX)
* at least, set argv[0] to the basename of the Perl
* interpreter. So, having found "#!", we'll set it right.
*/
- SV *x = GvSV(gv_fetchpv("\030", TRUE, SVt_PV));
+ SV *x = GvSV(gv_fetchpv("\030", TRUE, SVt_PV)); /* $^X */
assert(SvPOK(x) || SvGMAGICAL(x));
if (sv_eq(x, CopFILESV(PL_curcop))) {
sv_setpvn(x, ipath, ipathend - ipath);