This website requires JavaScript.
Explore
Help
Sign In
lix-project
/
lix
Watch
20
Star
55
Fork
You've already forked lix
31
Code
Issues
344
Code Review (Gerrit)
Projects
3
Releases
Wiki
Activity
c58e3f826e
lix
/
tests
/
functional
/
lang
/
parse-fail-eol-3.err.exp
7 lines
143 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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). (cherry picked from commit 2be6b143289e5479cc4a2667bb84e879116c2447) Change-Id: Ieb7f7655bac8cb0cf5734c60bd41723388f2973c
2024-01-29 05:19:23 +00:00
error: undefined variable 'invalid'
Rename some parse failure tests to `parse-fail-*` These were mistakenly labeled `eval-fail-*`. Note that the `lang.sh` runner passes `parse-fail-*` tests on stdin, so filenames are removed from error messages. Change-Id: I7f3a0d78b6cfa87af29aaa1b7af19d5a57fd4ade
2024-04-04 22:42:47 +00:00
at «stdin»:2:1:
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). (cherry picked from commit 2be6b143289e5479cc4a2667bb84e879116c2447) Change-Id: Ieb7f7655bac8cb0cf5734c60bd41723388f2973c
2024-01-29 05:19:23 +00:00
1| # foo
2| invalid
| ^
3| # bar
Reference in a new issue
Copy permalink