From 44d19480a10924eac2191308d8842a4df1657167 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Thu, 20 Jul 2017 16:11:59 +0200 Subject: Working on the IF nodes + Childrens -> children. --- ast-to-instr/src/VHDLEntity.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ast-to-instr/src/VHDLEntity.java') diff --git a/ast-to-instr/src/VHDLEntity.java b/ast-to-instr/src/VHDLEntity.java index 66e041d..f552d69 100644 --- a/ast-to-instr/src/VHDLEntity.java +++ b/ast-to-instr/src/VHDLEntity.java @@ -231,7 +231,7 @@ public class VHDLEntity extends ParsableXML { final Collection result; final NodeList ports; - final int childrens_count; + final int children_count; result = new ArrayList(); @@ -242,9 +242,9 @@ public class VHDLEntity extends ParsableXML XPathConstants.NODESET ); - childrens_count = ports.getLength(); + children_count = ports.getLength(); - for (int i = 0; i < childrens_count; ++i) + for (int i = 0; i < children_count; ++i) { result.add(new VHDLPort(local_id, ports.item(i))); } @@ -260,7 +260,7 @@ public class VHDLEntity extends ParsableXML { final Collection result; final NodeList generics; - final int childrens_count; + final int children_count; result = new ArrayList(); @@ -271,9 +271,9 @@ public class VHDLEntity extends ParsableXML XPathConstants.NODESET ); - childrens_count = generics.getLength(); + children_count = generics.getLength(); - for (int i = 0; i < childrens_count; ++i) + for (int i = 0; i < children_count; ++i) { result.add(new VHDLGeneric(local_id, generics.item(i))); } -- cgit v1.2.3-70-g09d2