Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Milhomme Allan
JavaMetaParser
Commits
4b960c88
Commit
4b960c88
authored
Feb 06, 2019
by
Custom2043
Browse files
Correct ignore filter bug with ignore and orSearch
parent
a4c1f8f1
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
4b960c88
...
...
@@ -6,4 +6,5 @@ gen/**
**.jardesc
test.txt
test.mpl
/bin/
JMP.jar
View file @
4b960c88
No preview for this file type
src/compiler/ClassGenerator.java
View file @
4b960c88
...
...
@@ -100,7 +100,7 @@ public class ClassGenerator
{
classBuilder
.
append
(
Generator
.
getLineJump
());
classBuilder
.
append
(
Generator
.
getLineJump
());
classBuilder
.
append
(
"\tp
rotected
"
);
classBuilder
.
append
(
"\tp
ublic
"
);
classBuilder
.
append
(
l
.
header
.
id
.
getName
());
classBuilder
.
append
(
"() {}"
);
classBuilder
.
append
(
Generator
.
getLineJump
());
...
...
src/parser/TokenBuilder.java
View file @
4b960c88
...
...
@@ -150,7 +150,7 @@ public class TokenBuilder extends Builder
MultipleSearch
ss
=
(
MultipleSearch
)
results
[
position
].
getSearch
();
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
]));
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment