then if you do cargo run ./string-struct-fields.scm or cargo run -- --capture type ./string-struct-fields.scm or cargo run -- -c type ./string-struct-fields.scm you should see the same result as previously
If you do cargo run -- --capture declaration_list ./string-struct-fields.scm you should instead see a result corresponding to the beginning of the enclosing struct fields declaration list
In this PR:
To test: If you have a file named eg
string-struct-fields.scm
in the project root with contents:then if you do
cargo run ./string-struct-fields.scm
orcargo run -- --capture type ./string-struct-fields.scm
orcargo run -- -c type ./string-struct-fields.scm
you should see the same result as previously If you docargo run -- --capture declaration_list ./string-struct-fields.scm
you should instead see a result corresponding to the beginning of the enclosing struct fields declaration list