diff options
| author | John Clements <clements@racket-lang.org> | 2013-03-13 10:52:45 -0700 |
|---|---|---|
| committer | John Clements <clements@racket-lang.org> | 2013-03-15 08:44:21 -0700 |
| commit | fdf8543cf61103e56cd86eadd845a65f12eaad54 (patch) | |
| tree | 91d26672796d448fe771cf4d7f692e52dc884737 /src/libsyntax/parse | |
| parent | 19bb16650f385755312e7d2399ce14e8253d92fa (diff) | |
| download | rust-fdf8543cf61103e56cd86eadd845a65f12eaad54.tar.gz rust-fdf8543cf61103e56cd86eadd845a65f12eaad54.zip | |
add nonempty encoding for spans
Before this change, encoding an object containing a codemap::span
using the JSON encodeng produced invalid JSON, for instance:
[{"span":,"global":false,"idents":["abc"]}]
Since the decoder for codemap::span's ignores its argument, I
conjecture that this will not damage decoding, and should improve
it for many decoders.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions
