hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 616e2071a2419a6fb21591fa170bb14eeea51055
parent 827c5ef83b54e3d00d55e87ab4e8f6141f3ade4d
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue,  2 Nov 2021 12:33:18 +0100

scripts/gen-docs: fix module list generation

Fixes ~sircmpwn/hare#501.

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
Mscripts/gen-docs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gen-docs b/scripts/gen-docs @@ -2,7 +2,7 @@ # Yes, I am entirely aware that this is a hack modules=$(awk ' /^modules="/ { sub(/.*="/, ""); print $1; mods = 1 } -/^[a-z][a-z0-9:_]+$/ { if (mods == 1) { print $1 } } +/^[a-z][a-z0-9:_]+/ { if (mods == 1) { print $1 } } /^[a-z][a-z0-9:_]+"$/ { if (mods == 1) { mods = 0; sub(/"/, ""); print $1 } } ' < scripts/gen-stdlib)