mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 04:56:01 +01:00
Throw a specific error for incomplete parse errors.
`nix-repl` will use this for deciding whether to keep waiting for input or error out right away.
This commit is contained in:
parent
8f71bc33d5
commit
6498adb002
3 changed files with 11 additions and 1 deletions
|
|
@ -195,5 +195,7 @@ or { return OR_KW; }
|
|||
|
||||
}
|
||||
|
||||
<<EOF>> { data->atEnd = true; return 0; }
|
||||
|
||||
%%
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue