mayChangeJump is true

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@111 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 209b219442
commit 51bebb2180
  1. 4
      jode/jode/flow/BreakBlock.java
  2. 8
      jode/jode/flow/ContinueBlock.java

@ -83,4 +83,8 @@ public class BreakBlock extends StructuredBlock {
{
writer.println("break"+(label == null ? "" : " "+label) + ";");
}
public boolean jumpMayBeChanged() {
return true;
}
}

@ -76,4 +76,12 @@ public class ContinueBlock extends StructuredBlock {
writer.println("continue"+
(continueLabel == null ? "" : " "+continueLabel) + ";");
}
public boolean needsBraces() {
return false;
}
public boolean jumpMayBeChanged() {
return true;
}
}

Loading…
Cancel
Save