diff --git a/sh/core/code.awk b/sh/core/code.awk index 66a15ca..fd4f59e 100644 --- a/sh/core/code.awk +++ b/sh/core/code.awk @@ -238,7 +238,19 @@ function parse_next(string) { doc_reset() variable = "" - # function + # alias + } else if (current_match == "alias") { + alias = "" + + # command + } else if (current_match == "command") { + command = "" + + # task + } else if (current_match == "task") { + task = "" + + # close } else if (current_match == "close") { doc_reset() current_function = ""