This website requires JavaScript.
Explore
Help
Sign In
cafkafk
/
lix
Watch
1
Star
0
Fork
You've already forked lix
0
Code
Issues
Pull requests
1
Projects
Releases
Packages
Wiki
Activity
Actions
9166babbaf
lix
/
tests
/
functional
/
lang
/
parse-fail-eof-pos.nix
3 lines
15 B
Nix
Raw
Normal View
History
Unescape
Escape
diagnose "unexpected EOF" at EOF this needs a string comparison because there seems to be no other way to get that information out of bison. usually the location info is going to be correct (pointing at a bad token), but since EOF isn't a token as such it'll be wrong in that this case. this hasn't shown up much so far because a single line ending *is* a token, so any file formatted in the usual manner (ie, ending in a line ending) would have its EOF position reported correctly. (cherry picked from commit 855fd5a1bb781e4f722c1d757ba43e866d370132) Change-Id: I120c56a962f4286b1ae3b71da7b71ce8ec3e0535
2024-01-29 06:19:23 +01:00
(
# no content
Reference in a new issue
Copy permalink