1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 06:53:54 +02:00

match line endings used by parser and error reports

the parser treats a plain \r as a newline, error reports do not. this
can lead to interesting divergences if anything makes use of this
feature, with error reports pointing to wrong locations in the input (or
even outside the input altogether).
This commit is contained in:
pennae 2024-01-29 06:19:23 +01:00
parent 1edd6fada5
commit 2be6b14328
8 changed files with 99 additions and 24 deletions

View file

@ -0,0 +1,2 @@
# foo invalid
# bar