diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-09-10 16:26:08 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-09-10 16:26:27 -0700 |
| commit | 7c6047254e5aa7ce5a0667b14676b22a7447f956 (patch) | |
| tree | f98478e6c77257610e43dc45447cd23e91bdaaae /tools/parse.nom | |
| parent | c859eac2beb20889e162ca28f889cc02ac592266 (diff) | |
Upgraded to 3.8 (text method changes) and fixed some bugs in
tree_to_nomsu.
Diffstat (limited to 'tools/parse.nom')
| -rwxr-xr-x | tools/parse.nom | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/parse.nom b/tools/parse.nom index 0622e27..ee4a722 100755 --- a/tools/parse.nom +++ b/tools/parse.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V3.7.5.6 +#!/usr/bin/env nomsu -V3.8.7.6 # Tool to print out a parse tree of files in an easy-to-read format. Usage: nomsu tools/parse.nom file1 file2 directory1 ... @@ -32,5 +32,5 @@ action [print tree %t at indent %indent]: for %path in (=lua "arg"): for file %filename in %path: - unless (%filename matches "%.nom$"): do next %filename + unless (%filename::matches "%.nom$"): do next %filename print tree (parse (read file %filename) from %filename) at indent "" |
