summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-05-04 17:09:22 -0600
committerSteve Hay <steve.m.hay@googlemail.com>2014-07-14 08:35:44 +0100
commit1e3aedaa69de1e929ce08528db89513f64f56e16 (patch)
treeafcf949239407863fa92e7ca988202feeb7ed6d1 /toke.c
parent5744525275a652cce23dc4fac599b19c74c9d83c (diff)
downloadperl-1e3aedaa69de1e929ce08528db89513f64f56e16.tar.gz
Wrap various pod uses of NUL with C<>
This makes the uses of this consistent in our pods. Also changed one use of the word 'buffer' into 'string', the latter being more appropriate. (cherry picked from commit 6602b93363649555eb1086b0efd043f7ffa7d0b5)
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toke.c b/toke.c
index ea88183201..0028b18b2f 100644
--- a/toke.c
+++ b/toke.c
@@ -869,7 +869,7 @@ through normal scalar means.
Direct pointer to the end of the chunk of text currently being lexed, the
end of the lexer buffer. This is equal to C<SvPVX(PL_parser-E<gt>linestr)
-+ SvCUR(PL_parser-E<gt>linestr)>. A NUL character (zero octet) is
++ SvCUR(PL_parser-E<gt>linestr)>. A C<NUL> character (zero octet) is
always located at the end of the buffer, and does not count as part of
the buffer's contents.
@@ -936,7 +936,7 @@ Perl_lex_bufutf8(pTHX)
=for apidoc Amx|char *|lex_grow_linestr|STRLEN len
Reallocates the lexer buffer (L</PL_parser-E<gt>linestr>) to accommodate
-at least I<len> octets (including terminating NUL). Returns a
+at least I<len> octets (including terminating C<NUL>). Returns a
pointer to the reallocated buffer. This is necessary before making
any direct modification of the buffer that would increase its length.
L</lex_stuff_pvn> provides a more convenient way to insert text into