Fix help-lint for editors, peg.ebnf

db4
Doug Coleman 2011-10-19 00:57:20 -07:00
parent df3cf77e59
commit 986ff071b4
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
USING: help.markup help.syntax parser source-files
source-files.errors vocabs.loader ;
source-files.errors vocabs.loader kernel ;
IN: editors
ARTICLE: "editor" "Editor integration"
@ -20,7 +20,7 @@ HELP: edit-hook
{ $var-description "A quotation with stack effect " { $snippet "( file line -- )" } ". If not set, the " { $link edit } " word throws a condition with restarts for loading one of the sub-vocabularies of the " { $vocab-link "editors" } " vocabulary." } ;
HELP: edit
{ $values { "defspec" "a definition specifier" } }
{ $values { "object" object } }
{ $description "Opens the source file containing the definition using the current " { $link edit-hook } ". See " { $link "editor" } "." }
{ $examples
"Editing a word definition:"

View File

@ -278,7 +278,7 @@ ARTICLE: "peg.ebnf.semantic-action" "Semantic Action"
"Semantic actions allow providing a quotation that gets run on the AST of a "
"matched rule that returns success or failure. The result of the parse is decided by "
"the result of the semantic action. The stack effect for the quotation is "
{ $snippet ( ast -- ? ) } ". "
{ $snippet "( ast -- ? )" } ". "
"A semantic action follows the rule it applies to and is delimited by '?[' and ']?'."
{ $examples
{ $example