1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-10 04:26:01 +01:00

parser.y: pass all of Exprs in, not just alloc

This commit is contained in:
Taeer Bar-Yam 2025-11-03 15:39:48 +01:00
parent 3ed42cd354
commit 62729ff472
3 changed files with 27 additions and 27 deletions

View file

@ -3217,7 +3217,7 @@ Expr * EvalState::parse(
}
auto result = parseExprFromBuf(
text, length, origin, basePath, mem.exprs.alloc, symbols, settings, positions, *docComments, rootFS);
text, length, origin, basePath, mem.exprs, symbols, settings, positions, *docComments, rootFS);
result->bindVars(*this, staticEnv);