diff options
author | Tony Cook <tony@develop-help.com> | 2019-01-31 15:06:41 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2019-08-08 15:28:35 +1000 |
commit | aa9ca194904d89c40a907b6b8e2e2bc71a17952e (patch) | |
tree | 65b2b159b00337a436ef2ea93db88ab92734704b /intrpvar.h | |
parent | 1172c104c90af393d8285157cc149375f71f636e (diff) | |
download | perl-aa9ca194904d89c40a907b6b8e2e2bc71a17952e.tar.gz |
(perl #132777) document and APIify PL_parser
Used in a few places on CPAN, either to check or modify the
compilation error count, or to do a little parsing via bufptr.
Diffstat (limited to 'intrpvar.h')
-rw-r--r-- | intrpvar.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/intrpvar.h b/intrpvar.h index 98beddfcf1..44a1ce5287 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -206,6 +206,14 @@ PERLVAR(I, padname_undef, PADNAME) PERLVAR(I, padname_const, PADNAME) PERLVAR(I, Sv, SV *) /* used to hold temporary values */ +/* +=for apidoc Amn|yy_parser*|PL_parser + +The parser state when compiling code. + +=cut +*/ + PERLVAR(I, parser, yy_parser *) /* current parser state */ PERLVAR(I, stashcache, HV *) /* Cache to speed up S_method_common */ |