Subject: | Unhelpful parse error message "Died." when spaces and tabs are mixed |
$ wget http://moritz.faui2k3.org/files/test.yaml
[...]
2012-11-07 13:20:23 (3.07 MB/s) - `test.yaml' saved [45/45]
$ perl -MYAML=LoadFile -e 'LoadFile "test.yaml"'
Died at /home/mlenz/perl5/lib/perl5/YAML/Loader.pm line 674, <$IN> line 1.
On its third line, the test file has a few spaces, followed by a tab,
followed by more spaces. Instead of the "inconsistent indention error"
that I'd expected, it dies in a totally unhelpful way.
The test file is also attached, in the hope that RT won't mangle the
spaces and tabs.
Subject: | test.yaml |
- heading:
- name:
- id: c