Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libexpr: quote reserved keys when printing
This fixes a bug in commands like `nix eval' which would emit invalid attribute sets if they contained reserved keywords such as "assert", "let", etc. These keywords will not be quoted when printed, making them valid expressions. All keywords recognized by the lexer are quoted, as well as "import" and "throw".
- Loading branch information