mirror of
https://github.com/SuspiciousActivity/ByteEdit.git
synced 2026-08-13 17:56:17 +00:00
Added some decompilers and decompile and disassemble async
This commit is contained in:
1 parent
fb4da77359
commit
15c581ceb6
16 files changed
+775
-119
No files matched your search
@@ -102,6 +102,7 @@ class DefaultTokenFactory implements TokenFactory {
|
||||
@Override
|
||||
public TokenImpl createToken(final char[] line, final int beg, final int end, final int startOffset,
|
||||
final int type) {
|
||||
// if(tokenList.length - 1 > currentFreeToken) return null;
|
||||
TokenImpl token = tokenList[currentFreeToken];
|
||||
token.set(line, beg, end, startOffset, type);
|
||||
currentFreeToken++;
|
||||
|
||||
@@ -108,6 +108,7 @@ public abstract class TokenMakerBase implements TokenMaker {
|
||||
currentToken = firstToken; // previous token is still null.
|
||||
} else {
|
||||
TokenImpl next = tokenFactory.createToken(array, start, end, startOffset, tokenType);
|
||||
if(currentToken == null || next == null ) return;
|
||||
currentToken.setNextToken(next);
|
||||
previousToken = currentToken;
|
||||
currentToken = next;
|
||||
|
||||
@@ -3184,7 +3184,9 @@ public class JavaTokenMaker extends AbstractJFlexCTokenMaker {
|
||||
return null;
|
||||
}
|
||||
} else {
|
||||
zzScanError(ZZ_NO_MATCH);
|
||||
//zzScanError(ZZ_NO_MATCH);
|
||||
return null;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user