Skip to content

Commit e395707

Browse files
committed
Fixup commit.
Addicentally ticked off 2 lines when reviewing changes, these are part of the last commit.
1 parent 320830f commit e395707

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/com/laytonsmith/core/MethodScriptCompiler.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ public static TokenStream lex(String script, File file, boolean inPureMScript) t
111111
*/
112112
public static TokenStream lex(String script, File file, boolean inPureMScript, boolean saveAllTokens) throws ConfigCompileException {
113113
if(script.isEmpty()) {
114-
return new TokenStream(new ArrayList<>(), "");
115114
return new TokenStream(new LinkedList<>(), "");
116115
}
117116
if((int) script.charAt(0) == 65279) {
@@ -902,7 +901,6 @@ public static List<Script> preprocess(TokenStream tokenStream) throws ConfigComp
902901
return new ArrayList<>();
903902
}
904903

905-
int startIndex = 0;
906904
// Remove leading newlines.
907905
while(!tokenStream.isEmpty() && tokenStream.getFirst().type == TType.NEWLINE) {
908906
tokenStream.removeFirst(); // Remove leading newlines.

0 commit comments

Comments
 (0)