From 66a7e3d37c0303997a6b1a3b7ec263dfb8c07748 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf <andreasrumpf@noname> Date: Tue, 15 Sep 2009 23:22:22 +0200 Subject: added tools and web dirs --- nim/evals.pas | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 nim/evals.pas (limited to 'nim/evals.pas') diff --git a/nim/evals.pas b/nim/evals.pas old mode 100644 new mode 100755 index d522dfaf0..b88fa3304 --- a/nim/evals.pas +++ b/nim/evals.pas @@ -278,11 +278,13 @@ begin case t.kind of tyBool, tyChar, tyInt..tyInt64: result := newNodeIT(nkIntLit, info, t); tyFloat..tyFloat128: result := newNodeIt(nkFloatLit, info, t); - tyVar, tyPointer, tyPtr, tyRef, tyCString, tySequence, tyString: + tyVar, tyPointer, tyPtr, tyRef, tyCString, tySequence, tyString, tyExpr, + tyStmt, tyTypeDesc: result := newNodeIT(nkNilLit, info, t); tyObject: begin result := newNodeIT(nkPar, info, t); internalError(info, 'init to implement'); + // XXX end; tyArray, tyArrayConstr: begin result := newNodeIT(nkBracket, info, t); @@ -1283,7 +1285,7 @@ begin nkType..pred(nkNilLit): result := copyNode(n); nkNilLit: result := n; // end of atoms - nkCall, nkHiddenCallConv, nkMacroStmt, nkCommand: + nkCall, nkHiddenCallConv, nkMacroStmt, nkCommand, nkCallStrLit: result := evalMagicOrCall(c, n); nkCurly, nkBracket, nkRange: begin a := copyNode(n); -- cgit 1.4.1-2-gfad0