summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ast-to-instr/src/VHDLISNode.java')
-rw-r--r--ast-to-instr/src/VHDLISNode.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/ast-to-instr/src/VHDLISNode.java b/ast-to-instr/src/VHDLISNode.java
index 66eb52a..9bf7810 100644
--- a/ast-to-instr/src/VHDLISNode.java
+++ b/ast-to-instr/src/VHDLISNode.java
@@ -11,15 +11,16 @@ import java.util.Collection;
/* If Statement Node */
public class VHDLISNode extends VHDLNode
{
- private static final XPathExpression XPE_FIND_CONDITION;
private static final XPathExpression XPE_FIND_NAMED_ENTITIES;
private static final XPathExpression XPE_FIND_TRUE_BRANCH;
private static final XPathExpression XPE_FIND_ELSE_BRANCH;
static
{
- XPE_FIND_CONDITION = XMLManager.compile_or_die("./condition");
- XPE_FIND_NAMED_ENTITIES = XMLManager.compile_or_die(".//named_entity");
+ XPE_FIND_NAMED_ENTITIES = XMLManager.compile_or_die
+ (
+ "./condition//named_entity"
+ );
XPE_FIND_TRUE_BRANCH = XMLManager.compile_or_die
(
@@ -121,7 +122,7 @@ public class VHDLISNode extends VHDLNode
{
Functions.add_entry
(
- "kind",
+ "depth",
local_id,
Strings.get_id_from_string
(