kjv

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 8bd831790f7bd2e4ca16532d36e65e2d80609d3a
parent 1ab8fb29a5570008f1c9fe646d6d34f450057fbd
Author: Tim Cooper <tim.cooper@layeh.com>
Date:   Mon, 13 Aug 2018 16:25:41 -0300

remove unneeded semicolons

Diffstat:
Mkjv.awk | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/kjv.awk b/kjv.awk @@ -96,15 +96,15 @@ function parseref(ref, arr) { return "exact" } else if (match(ref, "^,[1-9]+[0-9]*")) { # 3a - arr["verse", arr["verse"]] = 1; - delete arr["verse"]; + arr["verse", arr["verse"]] = 1 + delete arr["verse"] do { - arr["verse", substr(ref, 2, RLENGTH - 1)] = 1; - ref = substr(ref, RLENGTH + 1); - } while (match(ref, "^,[1-9]+[0-9]*")); + arr["verse", substr(ref, 2, RLENGTH - 1)] = 1 + ref = substr(ref, RLENGTH + 1) + } while (match(ref, "^,[1-9]+[0-9]*")) if (ref != "") { - return "unknown"; + return "unknown" } return "exact_set"