| summaryrefslogtreecommitdiff | 
diff options
Diffstat (limited to 'ast-to-instr/src/Main.java')
| -rw-r--r-- | ast-to-instr/src/Main.java | 22 | 
1 files changed, 4 insertions, 18 deletions
| diff --git a/ast-to-instr/src/Main.java b/ast-to-instr/src/Main.java index 1193f52..52c3a8e 100644 --- a/ast-to-instr/src/Main.java +++ b/ast-to-instr/src/Main.java @@ -16,25 +16,11 @@ public class Main     static     { -      XPathExpression xpe; - -      try -      { -         xpe = XMLManager.compile("./*/*/el[@kind=\"design_file\"][@file]"); -      } -      catch (final XPathExpressionException xpee) -      { -         xpe = null; - -         System.err.println -         ( -            "[P] Invalid XPath expression (report as bug):" +      XPE_FIND_ALL_VHDL_FILES = +         XMLManager.compile_or_die +            ( +               "./*/*/el[@kind=\"design_file\"][@file]"           ); - -         xpee.printStackTrace(); -      } - -      XPE_FIND_ALL_VHDL_FILES = xpe;     }     public static void main (final String... args) | 


