Fix help-lint for editors, peg.ebnf
parent
df3cf77e59
commit
986ff071b4
|
@ -1,5 +1,5 @@
|
||||||
USING: help.markup help.syntax parser source-files
|
USING: help.markup help.syntax parser source-files
|
||||||
source-files.errors vocabs.loader ;
|
source-files.errors vocabs.loader kernel ;
|
||||||
IN: editors
|
IN: editors
|
||||||
|
|
||||||
ARTICLE: "editor" "Editor integration"
|
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." } ;
|
{ $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
|
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" } "." }
|
{ $description "Opens the source file containing the definition using the current " { $link edit-hook } ". See " { $link "editor" } "." }
|
||||||
{ $examples
|
{ $examples
|
||||||
"Editing a word definition:"
|
"Editing a word definition:"
|
||||||
|
|
|
@ -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 "
|
"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 "
|
"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 "
|
"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 ']?'."
|
"A semantic action follows the rule it applies to and is delimited by '?[' and ']?'."
|
||||||
{ $examples
|
{ $examples
|
||||||
{ $example
|
{ $example
|
||||||
|
|
Loading…
Reference in New Issue