diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2015-12-27 17:51:11 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2015-12-27 17:51:11 -0800 |
commit | 39e360f93a374314c28716ded3b1533d66cd62be (patch) | |
tree | b1562085d6e08a67af054a62aecc6ace649de35d /bin | |
parent | 4e8e298eb3242cb25abe0cca315a74a100514dbf (diff) | |
download | spack-39e360f93a374314c28716ded3b1533d66cd62be.tar.gz spack-39e360f93a374314c28716ded3b1533d66cd62be.tar.bz2 spack-39e360f93a374314c28716ded3b1533d66cd62be.tar.xz spack-39e360f93a374314c28716ded3b1533d66cd62be.zip |
Add custom YAML loader & dumper to track lines & maintain dict order.
- Configs are now parsed with `spack.util.spack_yaml.load/dump`
- Parser annotates returned data with `_start_mark` and `_end_mark`
properties, so that we can recover what lines/files they came from.
- Parser uses `OrderedDict` instead of `dict`. This will help
maintain some sanity when round-tripping config files.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions