This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5e2ce0f
)
Fix a typo in the PL_keyword_plugin docs
author
Florian Ragwitz
<rafl@debian.org>
Sat, 28 Aug 2010 20:47:46 +0000
(22:47 +0200)
committer
Florian Ragwitz
<rafl@debian.org>
Sat, 28 Aug 2010 20:47:46 +0000
(22:47 +0200)
perlvars.h
patch
|
blob
|
blame
|
history
diff --git
a/perlvars.h
b/perlvars.h
index
3d37891
..
2619ac7
100644
(file)
--- 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
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 con
s
tant 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>