Commit 0edc4d82 authored by Custom2043's avatar Custom2043
Browse files

Transient no longer include last line when searching

parent c8a35586
......@@ -17,3 +17,14 @@ ReceiverParameter :
#ParameterList = {Parametre ","|}
#Header = Identifier "("
MethodDeclarator : [{MethodModifier}] Header
ignore = {' |\t|\r|\n'}
Identifier = 'a-z|A-Z|$|_' {'a-z|A-Z|0-9|$|_'}
#TypeName = {Identifier "."|}
Annotation = "@" TypeName ["(" ["*"] ")"]
MethodModifier = "public"|"protected"|"private"|"abstract"|"static"|"final"|"synchronized"|"native"|"strictfp"|"super"|Annotation
MethodDeclarator = [{MethodModifier}] Identifier "("
\ No newline at end of file
File added
......@@ -55,7 +55,7 @@ public class TokenSearch extends Search
if (this.fromThisLine)
current = Parser.readUntil(this.getDeclarationBuilder().getLine(), true);
else
current = Parser.readUntil(this.builder.getLine(), false);
current = Parser.readUntil(this.builder.getLine(), this.builder.isTransient());
}
if ((temp = this.isTokenCorrect(current)) != null && Parser.executeSearches(false, null, position + 1, results, searches))
{
......
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