diff options
author | Mike Gerwitz <mike.gerwitz@ryansg.com> | 2022-04-08 16:16:23 -0400 |
---|---|---|
committer | Mike Gerwitz <mike.gerwitz@ryansg.com> | 2022-04-08 16:16:23 -0400 |
commit | a1a4ad3e8ebd57666b812422a16d8ed99289dcfa (patch) | |
tree | 0adce87f1d5897b40423e000e65f788dcf2e4dad /tamer/tests | |
parent | 68223cb7d3f3d1c8ba9347f19b05c3897b6eca2d (diff) | |
download | tame-main.tar.gz tame-main.tar.bz2 tame-main.zip |
tamer: Introduce context into XirReadermain
tamec and tameld will now both introduce a `Context` to XIR, which will use
it to create spans.
Here's an example of an error, now that it's all working well together:
$ target/release/tameld --emit xmle -o /dev/null path/to/package.xmlo
error: invalid preproc:sym/@dim `9` at [/../path/to/package.xmlo offset 1175451-1175452]
A future task will make this human-readable by producing line and column
numbers, and perhaps even a snippet (if not now, then eventually).
It's exciting to see this coming together finally.
DEV-10934
Diffstat (limited to 'tamer/tests')
0 files changed, 0 insertions, 0 deletions