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
|
||||
} else if (match(string, re["command"])) {
|
||||
current_match = "command"
|
||||
command = strip_first(string, "#/")
|
||||
ids_put(current_match, command)
|
||||
commands[command] = ""
|
||||
doc_append("/ " command)
|
||||
current_command = strip_first(string, "#/")
|
||||
ids_put(current_match, current_command)
|
||||
commands[current_command] = ""
|
||||
doc_append("/ " current_command)
|
||||
|
||||
# function
|
||||
} else if (match(string, re["function"])) {
|
||||
|
@ -430,7 +430,7 @@ if (action == "doc") {
|
|||
|
||||
# command
|
||||
} else if (current_match == "command") {
|
||||
command = ""
|
||||
current_command = ""
|
||||
|
||||
# task
|
||||
} else if (current_match == "task") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue