This commit is contained in:
parent
7729d5204e
commit
4ed1026ecc
1 changed files with 5 additions and 5 deletions
|
@ -206,10 +206,10 @@ function parse(string, command) {
|
||||||
# alias
|
# alias
|
||||||
} else if (match(string, re["alias"])) {
|
} else if (match(string, re["alias"])) {
|
||||||
current_match = "alias"
|
current_match = "alias"
|
||||||
alias = strip_first(string, "#=")
|
current_alias = strip_first(string, "#=")
|
||||||
ids_put(current_match, alias)
|
ids_put(current_match, current_alias)
|
||||||
aliases[alias] = ""
|
aliases[current_alias] = ""
|
||||||
doc_append("= " alias)
|
doc_append("= " current_alias)
|
||||||
|
|
||||||
# command
|
# command
|
||||||
} else if (match(string, re["command"])) {
|
} else if (match(string, re["command"])) {
|
||||||
|
@ -421,7 +421,7 @@ if (action == "doc") {
|
||||||
|
|
||||||
# alias
|
# alias
|
||||||
} else if (current_match == "alias") {
|
} else if (current_match == "alias") {
|
||||||
alias = ""
|
current_alias = ""
|
||||||
|
|
||||||
# command
|
# command
|
||||||
} else if (current_match == "command") {
|
} else if (current_match == "command") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue