Commit 4b960c88 authored by Custom2043's avatar Custom2043
Browse files

Correct ignore filter bug with ignore and orSearch

parent a4c1f8f1
...@@ -6,4 +6,5 @@ gen/** ...@@ -6,4 +6,5 @@ gen/**
**.jardesc **.jardesc
test.txt test.txt
test.mpl
/bin/ /bin/
No preview for this file type
...@@ -100,7 +100,7 @@ public class ClassGenerator ...@@ -100,7 +100,7 @@ public class ClassGenerator
{ {
classBuilder.append(Generator.getLineJump()); classBuilder.append(Generator.getLineJump());
classBuilder.append(Generator.getLineJump()); classBuilder.append(Generator.getLineJump());
classBuilder.append("\tprotected "); classBuilder.append("\tpublic ");
classBuilder.append(l.header.id.getName()); classBuilder.append(l.header.id.getName());
classBuilder.append("() {}"); classBuilder.append("() {}");
classBuilder.append(Generator.getLineJump()); classBuilder.append(Generator.getLineJump());
......
...@@ -150,7 +150,7 @@ public class TokenBuilder extends Builder ...@@ -150,7 +150,7 @@ public class TokenBuilder extends Builder
MultipleSearch ss = (MultipleSearch) results[position].getSearch(); MultipleSearch ss = (MultipleSearch) results[position].getSearch();
Result[][] sortedResults = this.separateIgnoreResults(results[position].getArray(), ss.getSearches()); Result[][] sortedResults = this.separateIgnoreResults(results[position].getArray(), ss.getSearches());
resultWithoutIgnore.add(new Result(s, sortedResults[0])); resultWithoutIgnore.add(new Result(results[position].getSearch(), sortedResults[0]));
ignoredResults.add(new Result(this.ignore.getRealSearch(), sortedResults[1])); ignoredResults.add(new Result(this.ignore.getRealSearch(), sortedResults[1]));
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment