| summaryrefslogtreecommitdiff | 
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-07-20 13:46:47 +0200 | 
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-07-20 13:46:47 +0200 | 
| commit | b5c3459a9763107abcbbcd7fc1a42eee3a887c52 (patch) | |
| tree | a44474d508d3ea6c940ce7893f95994d3153b19d /ast-to-instr/src/Main.java | |
| parent | cd9254b65410c0f8a0fc3437ee43d88375244508 (diff) | |
Still working on AST-to-Instr.
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) | 


