aboutsummaryrefslogtreecommitdiff
path: root/lib/tools/find.nom
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tools/find.nom')
-rwxr-xr-xlib/tools/find.nom4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tools/find.nom b/lib/tools/find.nom
index db7a2c5..e28681a 100755
--- a/lib/tools/find.nom
+++ b/lib/tools/find.nom
@@ -60,7 +60,7 @@ command line program with $args:
$file = (read file $filename)
unless $file:
fail "File does not exist: \$filename"
- $code = (NomsuCode from ($Source $filename 1 (size of $file)) $file)
+ $code = (NomsuCode from ($Source $filename 1 (#$file)) $file)
try:
$tree = ($code parsed)
..if it fails with $msg:
@@ -96,4 +96,4 @@ command line program with $args:
..else:
sort $results by $ -> $.line
for $ in $results:
- say $.text
+ say $.text \ No newline at end of file