BUGFIX: mEqRef for evalOp
This commit is contained in:
parent
41afb4ee58
commit
33fbf7fd03
2 changed files with 3 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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 & ')')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue