From 5d59d510cd6fdc8553250e5ec10f19a285e8878c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 25 Apr 2018 16:30:49 -0700 Subject: Removing end-of-line ":" and "(..)" for blocks (they just use indentation now). --- lib/file_hash.nom | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/file_hash.nom') diff --git a/lib/file_hash.nom b/lib/file_hash.nom index 4d99e39..0d7e523 100644 --- a/lib/file_hash.nom +++ b/lib/file_hash.nom @@ -28,15 +28,15 @@ lua> ".." end attrdir("."); -action [sha1 %]: +action [sha1 %] lua> "return sha1(\%);" -action [file with hash %hash]: +action [file with hash %hash] %file <- (%hash in %hash_to_filename) assume %file or barf "File with SHA1 hash \%hash not found!" return %file -action [hash of file %filename]: +action [hash of file %filename] lua> ".." local f = io.open(\%filename); local hash = sha1(f:read("*a")); -- cgit v1.2.3