diff options
author | Alex Ameen <alex.ameen.tx@gmail.com> | 2023-05-09 09:45:12 -0500 |
---|---|---|
committer | Alex Ameen <alex.ameen.tx@gmail.com> | 2023-05-09 09:45:12 -0500 |
commit | b72bc4a972fe568744d98b89d63adcd504cb586c (patch) | |
tree | c68afe392499121d6f5872eb2a7fef6c3b5ddb41 /bootstrap.sh | |
parent | 4539ab530ad23a8558512f784bd72c4cd0e72f13 (diff) |
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 except "or", which does not
require quotation.
Diffstat (limited to 'bootstrap.sh')
0 files changed, 0 insertions, 0 deletions