mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01:16 +02:00
* Started integrating the new evaluator.
This commit is contained in:
parent
52090d2418
commit
31428c3a06
8 changed files with 745 additions and 709 deletions
|
@ -375,7 +375,7 @@ expr_op
|
|||
| expr_op UPDATE expr_op { $$ = makeOpUpdate($1, $3); }
|
||||
| expr_op '~' expr_op { $$ = makeSubPath($1, $3); }
|
||||
| expr_op '?' ID { $$ = makeOpHasAttr($1, $3); }
|
||||
| expr_op '+' expr_op { $$ = makeOpPlus($1, $3); }
|
||||
| expr_op '+' expr_op { $$ = makeConcatStrings(ATmakeList2($1, $3)); }
|
||||
| expr_op CONCAT expr_op { $$ = makeOpConcat($1, $3); }
|
||||
| expr_app
|
||||
;
|
||||
|
@ -513,7 +513,7 @@ static Expr parse(EvalState & state,
|
|||
if (res) throw ParseError(data.error);
|
||||
|
||||
try {
|
||||
checkVarDefs(state.primOps, data.result);
|
||||
// !!! checkVarDefs(state.primOps, data.result);
|
||||
} catch (Error & e) {
|
||||
throw ParseError(format("%1%, in `%2%'") % e.msg() % path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue