changeset 124:035b670967c6

Eclipse plugin no longer expects parantheses in compiler output. Prior to this revision the Eclipse plugin expected the PySMCL compiler, e.g. pysmcl/emacs/info.py, to output something like ( (4 6 4) (12 3 11) ) The plugin now instead expects 4 6 4 12 3 11
author Thomas P Jakobsen <tpj@cs.au.dk>
date Mon, 26 Oct 2009 10:55:55 +0100
parents 7b2b7c4f30c8
children 749d6f6ae503
files eclipse/src/eu/cace/pysmcl/builder/PySMCLCompiler.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/eclipse/src/eu/cace/pysmcl/builder/PySMCLCompiler.java	Mon Oct 26 10:39:51 2009 +0100
+++ b/eclipse/src/eu/cace/pysmcl/builder/PySMCLCompiler.java	Mon Oct 26 10:55:55 2009 +0100
@@ -92,7 +92,7 @@
 		Set<SMCLProblem> res = new HashSet<SMCLProblem>();
 
 		// TODO: Could be optimized by compiling pattern only once.
-		Pattern pattern = Pattern.compile("\\((\\d+) (\\d+) (\\d+)\\)");
+		Pattern pattern = Pattern.compile("(\\d+) (\\d+) (\\d+)");
 		Matcher matcher = pattern.matcher(output);
 		while (matcher.find()) {
 			int line = Integer.valueOf(matcher.group(1));