Misc cleanup

This commit is contained in:
Anuken
2021-03-16 21:51:12 -04:00
parent 89997ad8d4
commit 786d638ad0
5 changed files with 6 additions and 15 deletions

View File

@@ -10,12 +10,8 @@ import mindustry.logic.LExecutor.*;
public class LAssembler{
public static ObjectMap<String, Func<String[], LStatement>> customParsers = new ObjectMap<>();
public static final int maxTokenLength = 36;
private static final int invalidNum = Integer.MIN_VALUE;
private static final StringMap opNameChanges = StringMap.of(
"atan2", "angle",
"dst", "len"
);
private static final int invalidNum = Integer.MIN_VALUE;
private int lastVar;
/** Maps names to variable IDs. */