about summary refs log tree commit diff
path: root/src/fix-ng/eval.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-11-02T16·31+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-11-02T16·31+0000
commitadf9a45469f55258446d383333aa2ca79cfb0536 (patch)
tree26fc7e4ac62f45385b78f468c1cbc96426c78d71 /src/fix-ng/eval.cc
parentc8268ca9917061466a3448028ea524d9842e1ac9 (diff)
* Primops: baseNameOf, toString.
Diffstat (limited to 'src/fix-ng/eval.cc')
-rw-r--r--src/fix-ng/eval.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fix-ng/eval.cc b/src/fix-ng/eval.cc
index c58a06dff8d9..38a1d81fcfe4 100644
--- a/src/fix-ng/eval.cc
+++ b/src/fix-ng/eval.cc
@@ -145,6 +145,8 @@ Expr evalExpr2(EvalState & state, Expr e)
             string primop(s1);
             if (primop == "import") return primImport(state, e2);
             if (primop == "derivation") return primDerivation(state, e2);
+            if (primop == "toString") return primToString(state, e2);
+            if (primop == "baseNameOf") return primBaseNameOf(state, e2);
             else throw badTerm("undefined variable/primop", e1);
         }