| summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'ast-to-instr/src/VHDLGeneric.java')
| -rw-r--r-- | ast-to-instr/src/VHDLGeneric.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/ast-to-instr/src/VHDLGeneric.java b/ast-to-instr/src/VHDLGeneric.java index 866ae95..89cb42f 100644 --- a/ast-to-instr/src/VHDLGeneric.java +++ b/ast-to-instr/src/VHDLGeneric.java @@ -5,8 +5,7 @@ import javax.xml.xpath.XPathConstants; import javax.xml.xpath.XPathExpression; import javax.xml.xpath.XPathExpressionException; -import java.util.ArrayList; -import java.util.Collection; +import java.util.Stack; public class VHDLGeneric extends ParsableXML { @@ -20,15 +19,15 @@ public class VHDLGeneric extends ParsableXML } @Override - public Collection<ParsableXML> parse () + public void parse + ( + final Stack<ParsableXML> waiting_list + ) throws XPathExpressionException { - final Collection<ParsableXML> result; final String xml_id; final IDs local_id; - result = new ArrayList<ParsableXML>(); - xml_id = XMLManager.get_attribute(xml_node, "id"); local_id = IDs.get_id_from_xml_id(xml_id, "generic"); @@ -51,8 +50,6 @@ public class VHDLGeneric extends ParsableXML /** Children ************************************************************/ handle_child_waveform(local_id); - - return result; } /***************************************************************************/ |


