summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-12-16 17:02:53 -0700
committerKarl Williamson <khw@cpan.org>2019-12-17 11:19:31 -0700
commit5af38e470e5404ea35b11b729d9a03653c224ccb (patch)
tree27f3d208a8bd5c39a901057e540fbd412c2b8f0e /toke.c
parent81d11450691ee281f37c6c4e8055735b972733bd (diff)
downloadperl-5af38e470e5404ea35b11b729d9a03653c224ccb.tar.gz
Note that certain flags are documented
This is useful in Devel::PPPort for generating its api-info data. That useful feature of D:P allows someone to find out what was the first release of Perl to have a function, macro, or flag. And whether using ppport.h backports it further. I went through apidoc.pod and looked for flags that were documented but that D:P didn't know about. This commit adds entries for each so that D:P can find them.
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/toke.c b/toke.c
index 6f38a599d4..46fa0ac86c 100644
--- a/toke.c
+++ b/toke.c
@@ -1003,6 +1003,8 @@ buffer is currently being interpreted (L</lex_bufutf8>). If a string
to be inserted is available as a Perl scalar, the L</lex_stuff_sv>
function is more convenient.
+=for apidoc Amnh||LEX_STUFF_UTF8
+
=cut
*/
@@ -1296,6 +1298,8 @@ consumed, then it will not be discarded regardless of the flag.
Returns true if some new text was added to the buffer, or false if the
buffer has reached the end of the input text.
+=for apidoc Amnh||LEX_KEEP_PREVIOUS
+
=cut
*/
@@ -12715,7 +12719,10 @@ normally resulting in a single exception at the top level of parsing
which covers all the compilation errors that occurred. Some compilation
errors, however, will throw an exception immediately.
+=for apidoc Amnh||PARSE_OPTIONAL
+
=cut
+
*/
OP *