Browse Source

removed spurious check on else variants

pull/2/head
nisstyre56 11 years ago
parent
commit
65b2717d5b
  1. 3
      representation.js

3
representation.js

@ -157,8 +157,7 @@ function DefFunc(ident, params, body) {
function If(condition, thenexp, elseexp) { function If(condition, thenexp, elseexp) {
this.condition = condition; this.condition = condition;
this.thenexp = thenexp; this.thenexp = thenexp;
if (elseexp) this.elseexp = elseexp;
this.elseexp = elseexp;
this.exprType = "If"; this.exprType = "If";
return this; return this;
} }

Loading…
Cancel
Save