current/command
This commit is contained in:
parent
f5ba5bb3e9
commit
c97e517c67
1 changed files with 5 additions and 5 deletions
|
@ -214,10 +214,10 @@ function parse(string) {
|
||||||
# command
|
# command
|
||||||
} else if (match(string, re["command"])) {
|
} else if (match(string, re["command"])) {
|
||||||
current_match = "command"
|
current_match = "command"
|
||||||
command = strip_first(string, "#/")
|
current_command = strip_first(string, "#/")
|
||||||
ids_put(current_match, command)
|
ids_put(current_match, current_command)
|
||||||
commands[command] = ""
|
commands[current_command] = ""
|
||||||
doc_append("/ " command)
|
doc_append("/ " current_command)
|
||||||
|
|
||||||
# function
|
# function
|
||||||
} else if (match(string, re["function"])) {
|
} else if (match(string, re["function"])) {
|
||||||
|
@ -430,7 +430,7 @@ if (action == "doc") {
|
||||||
|
|
||||||
# command
|
# command
|
||||||
} else if (current_match == "command") {
|
} else if (current_match == "command") {
|
||||||
command = ""
|
current_command = ""
|
||||||
|
|
||||||
# task
|
# task
|
||||||
} else if (current_match == "task") {
|
} else if (current_match == "task") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue