summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <andreas@andreas-desktop>2010-03-17 23:00:27 +0100
committerAndreas Rumpf <andreas@andreas-desktop>2010-03-17 23:00:27 +0100
commit33fbf7fd03145d1de6023edee9c002aec982ffc7 (patch)
tree63a07829aa79682699abdf0f9bfed7e272fc7022
parent41afb4ee58b12dff68692ed89474f22d07747be6 (diff)
downloadNim-33fbf7fd03145d1de6023edee9c002aec982ffc7.tar.gz
BUGFIX: mEqRef for evalOp
-rwxr-xr-xlib/impure/dialogs.nim1
-rwxr-xr-xrod/semfold.nim3
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/impure/dialogs.nim b/lib/impure/dialogs.nim
index 86c81a84e..630a0f075 100755
--- a/lib/impure/dialogs.nim
+++ b/lib/impure/dialogs.nim
@@ -79,6 +79,7 @@ proc ChooseFileToOpen*(window: PWindow, root: string = ""): string =
     else:
       result = ""
   else:
+    assert file_chooser_dialog_new != nil
     var chooser = file_chooser_dialog_new("Open File", window,
                 FILE_CHOOSER_ACTION_OPEN,
                 STOCK_CANCEL, RESPONSE_CANCEL,
diff --git a/rod/semfold.nim b/rod/semfold.nim
index 95710af75..18975a604 100755
--- a/rod/semfold.nim
+++ b/rod/semfold.nim
@@ -195,7 +195,8 @@ proc evalOp(m: TMagic, n, a, b, c: PNode): PNode =
     result = copyTree(a)
     result.typ = n.typ
   of mNewString, mExit, mInc, ast.mDec, mEcho, mAssert, mSwap, mAppendStrCh, 
-     mAppendStrStr, mAppendSeqElem, mSetLengthStr, mSetLengthSeq, mNLen..mNError: 
+     mAppendStrStr, mAppendSeqElem, mSetLengthStr, mSetLengthSeq, 
+     mNLen..mNError, mEqRef: 
     nil
   else: InternalError(a.info, "evalOp(" & $m & ')')