From d485db68bbe7f5895a86e73cf34f1f359cfdc4c0 Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 15 Mar 1999 17:59:28 +0000 Subject: [PATCH] priority setType of operand, when replacing with operand git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@427 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/expr/NopOperator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jode/jode/expr/NopOperator.java b/jode/jode/expr/NopOperator.java index 035c9c4..753fbc7 100644 --- a/jode/jode/expr/NopOperator.java +++ b/jode/jode/expr/NopOperator.java @@ -38,10 +38,11 @@ public class NopOperator extends SimpleOperator { } public int getPriority() { - return 0; + return 1000; } public Expression addOperand(Expression op) { + op.setType(type.getSubType()); return op; }