diff options
author | Florian Ragwitz <rafl@debian.org> | 2010-08-28 22:47:46 +0200 |
---|---|---|
committer | Florian Ragwitz <rafl@debian.org> | 2010-08-28 22:47:46 +0200 |
commit | 364f83bf170b66a33409938086c9a06d296a890a (patch) | |
tree | 470addf5ff2bc460db1332f006f50f2dd2ff8ecd /perlvars.h | |
parent | 5e2ce0f3dcb618e7ce72180948b6c29c8b949a53 (diff) | |
download | perl-364f83bf170b66a33409938086c9a06d296a890a.tar.gz |
Fix a typo in the PL_keyword_plugin docs
Diffstat (limited to 'perlvars.h')
-rw-r--r-- | perlvars.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perlvars.h b/perlvars.h index 3d378917c9..2619ac7599 100644 --- a/perlvars.h +++ b/perlvars.h @@ -212,7 +212,7 @@ introduced by the keyword. See L</Lexer interface> for details. When a keyword is being handled, the plugin function must build a tree of C<OP> structures, representing the code that was parsed. The root of the tree must be stored in C<*op_ptr>. The function then -returns a contant indicating the syntactic role of the construct that +returns a constant indicating the syntactic role of the construct that it has parsed: C<KEYWORD_PLUGIN_STMT> if it is a complete statement, or C<KEYWORD_PLUGIN_EXPR> if it is an expression. Note that a statement construct cannot be used inside an expression (except via C<do BLOCK> |