Fix a bug for pretty.

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@234 379699f6-c40d-0410-875b-85095c16579e
stable
delwi 26 years ago
parent aeaef2a9f9
commit 7df0926d19
  1. 12
      jode/jode/flow/StructuredBlock.java

@ -388,14 +388,10 @@ public abstract class StructuredBlock {
}
}
if (local.hasName()) {
LocalInfo previous = done.findLocal(local.getName());
if (previous != null) {
/* A name conflict happened. */
local.makeNameUnique();
/* try again. */
previous = done.findLocal(local.getName());
}
LocalInfo previous = done.findLocal(local.getName());
if (previous != null) {
/* A name conflict happened. */
local.makeNameUnique();
}
declare.addElement(local);
}

Loading…
Cancel
Save