mirror of
https://github.com/NixOS/nix
synced 2025-06-29 06:21:14 +02:00
* An attribute set update operator (//). E.g.,
{x=1; y=2; z=3;} // {y=4;} => {x=1; y=4; z=3;}
This commit is contained in:
parent
6d46e647ba
commit
9d25466b34
3 changed files with 19 additions and 0 deletions
|
@ -57,6 +57,7 @@ inherit { return INHERIT; }
|
|||
\&\& { return AND; }
|
||||
\|\| { return OR; }
|
||||
\-\> { return IMPL; }
|
||||
\/\/ { return UPDATE; }
|
||||
|
||||
{ID} { yylval->t = ATmake("<str>", yytext); return ID; /* !!! alloc */ }
|
||||
{INT} { int n = atoi(yytext); /* !!! overflow */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue