0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

Move tokenizer error location to offending char

Previously, it pointed to the start of the current token, but this made
it difficult to tell where the error occurred when it was, say, in the
middle of a string.
This commit is contained in:
Matthew McAllister 2019-01-29 16:20:38 -08:00 • committed by Andrew Kelley
commit ad8381e0d2
2 changed files with 3 additions and 8 deletions