Skip to content

Commit

Permalink
fixing the message splitter
Browse files Browse the repository at this point in the history
  • Loading branch information
UrsZeidler committed Mar 19, 2017
1 parent efd9bd8 commit d7f1182
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public boolean visit(IResource resource) throws CoreException {
public static final String SOLIDITY_MARKER_ID = "de.urszeidler.eclipse.solidity.compiler.solidityCodeMarker";

public static final String ERROR_PARSER = "^([^:]*):(\\p{Digit}*):(\\p{Digit}*):(.*):(.*)";
public static final String MESSAGE_SPLITTER = "\\^(-*)\\^";
public static final String MESSAGE_SPLITTER = "\\^";//"\\^(-*)\\^";

/*
* (non-Javadoc)
Expand Down Expand Up @@ -254,7 +254,7 @@ private boolean deleteCompilerMarkers(IProject project) {
* @param error
*/
private void createMarker(String error) {
String[] errors = error.trim().split(MESSAGE_SPLITTER);//error.trim().split("\\^");//
String[] errors = error.trim().split(MESSAGE_SPLITTER);
Pattern pattern = Pattern.compile(ERROR_PARSER, Pattern.DOTALL | Pattern.MULTILINE);
IPath location = getProject().getLocation();

Expand Down

0 comments on commit d7f1182

Please sign in to comment.