Fixed small issues

This commit is contained in:
Jindra Pet��k
2013-03-22 22:29:43 +01:00
parent 2b8f708b05
commit c630d885dd
5 changed files with 8 additions and 6 deletions
@@ -38,7 +38,7 @@ public class ActionGetVariable extends Action {
@Override
public void translate(Stack<GraphTargetItem> stack, List<GraphTargetItem> output, java.util.HashMap<Integer, String> regNames, HashMap<String, GraphTargetItem> variables, HashMap<String, GraphTargetItem> functions) {
GraphTargetItem name = stack.pop();
GraphTargetItem computedVal = variables.get(Highlighting.stripHilights(name.toStringNoQuotes()));
GraphTargetItem computedVal = variables.get(Highlighting.stripHilights(name.toStringNoQuotes(null)));
GetVariableTreeItem gvt = new GetVariableTreeItem(this, name);
gvt.setComputedValue(computedVal);
stack.push(gvt);