lix/tests/lang/parse-fail-eof-in-string.nix
Eelco Dolstra 27ebb97d0a
Handle EOFs in string literals correctly
We can't return a STR token without setting a valid StringToken,
otherwise the parser will crash.

Fixes #6562.
2022-05-25 17:58:13 +02:00

3 lines
99 B
Nix

# https://github.com/NixOS/nix/issues/6562
# Note that this file must not end with a newline.
a 1"$