mirror of
https://github.com/revanced/smali.git
synced 2025-05-16 14:17:04 +02:00
Fix the line number on instruction errors
This commit is contained in:
parent
87c1c0e054
commit
38d0921bbb
@ -813,7 +813,7 @@ instruction[int totalMethodRegisters, int methodParameterRegisters, List<Instruc
|
||||
| insn_packed_switch_directive[$totalMethodRegisters, $methodParameterRegisters, $instructions] { $outRegisters = $insn_packed_switch_directive.outRegisters; }
|
||||
| insn_sparse_switch_directive[$totalMethodRegisters, $methodParameterRegisters, $instructions] { $outRegisters = $insn_sparse_switch_directive.outRegisters; };
|
||||
catch [Exception ex] {
|
||||
reportError(new SemanticException(input, ex));
|
||||
reportError(new SemanticException(input, $start, ex.getMessage()));
|
||||
recover(input, null);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user