summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorFlorian Ragwitz <rafl@debian.org>2010-08-28 22:47:46 +0200
committerFlorian Ragwitz <rafl@debian.org>2010-08-28 22:47:46 +0200
commit364f83bf170b66a33409938086c9a06d296a890a (patch)
tree470addf5ff2bc460db1332f006f50f2dd2ff8ecd /perlvars.h
parent5e2ce0f3dcb618e7ce72180948b6c29c8b949a53 (diff)
downloadperl-364f83bf170b66a33409938086c9a06d296a890a.tar.gz
Fix a typo in the PL_keyword_plugin docs
Diffstat (limited to 'perlvars.h')
-rw-r--r--perlvars.h2
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>