1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00

libexpr: Explicitly define ExprOpUpdate

This commit is contained in:
Sergei Zimmerman 2025-09-24 01:04:26 +03:00
parent e282175f48
commit b7c6cf900f
No known key found for this signature in database

View file

@ -614,9 +614,13 @@ MakeBinOp(ExprOpNEq, "!=");
MakeBinOp(ExprOpAnd, "&&"); MakeBinOp(ExprOpAnd, "&&");
MakeBinOp(ExprOpOr, "||"); MakeBinOp(ExprOpOr, "||");
MakeBinOp(ExprOpImpl, "->"); MakeBinOp(ExprOpImpl, "->");
MakeBinOp(ExprOpUpdate, "//");
MakeBinOp(ExprOpConcatLists, "++"); MakeBinOp(ExprOpConcatLists, "++");
struct ExprOpUpdate : Expr
{
MakeBinOpMembers(ExprOpUpdate, "//")
};
struct ExprConcatStrings : Expr struct ExprConcatStrings : Expr
{ {
PosIdx pos; PosIdx pos;