This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix a typo in the PL_keyword_plugin docs
authorFlorian Ragwitz <rafl@debian.org>
Sat, 28 Aug 2010 20:47:46 +0000 (22:47 +0200)
committerFlorian Ragwitz <rafl@debian.org>
Sat, 28 Aug 2010 20:47:46 +0000 (22:47 +0200)
perlvars.h

index 3d37891..2619ac7 100644 (file)
@@ -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
 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>
 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>