diff options
Diffstat (limited to 'lib/tools/repl.nom')
| -rwxr-xr-x | lib/tools/repl.nom | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tools/repl.nom b/lib/tools/repl.nom index 029df4a..5e8336f 100755 --- a/lib/tools/repl.nom +++ b/lib/tools/repl.nom @@ -70,6 +70,13 @@ command line program with $args: unless $tree: do next + if ($tree.type == "Comment"): + say (dim "Comment:\($tree.1)") + do next + + if ($tree.type != "FileChunks"): + $tree = [$tree] + for $chunk in $tree: try: $lua = ($chunk as lua) |
