mirror of
https://github.com/revanced/smali.git
synced 2025-05-02 07:34:28 +02:00
Fix issue with parameter list parsing
This fixes an issue that was initially introduced in the smalidea branch
This commit is contained in:
parent
11d179bfdb
commit
a198b46e20
@ -591,8 +591,11 @@ method_prototype
|
||||
: OPEN_PAREN param_list CLOSE_PAREN type_descriptor
|
||||
-> ^(I_METHOD_PROTOTYPE[$start, "I_METHOD_PROTOTYPE"] ^(I_METHOD_RETURN_TYPE type_descriptor) param_list?);
|
||||
|
||||
param_list_or_id_primitive_type
|
||||
: PARAM_LIST_OR_ID_PRIMITIVE_TYPE -> PRIMITIVE_TYPE[$PARAM_LIST_OR_ID_PRIMITIVE_TYPE];
|
||||
|
||||
param_list
|
||||
: (PARAM_LIST_OR_ID_PRIMITIVE_TYPE -> PRIMITIVE_TYPE[$PARAM_LIST_OR_ID_PRIMITIVE_TYPE])+
|
||||
: param_list_or_id_primitive_type+
|
||||
| nonvoid_type_descriptor*;
|
||||
|
||||
array_descriptor
|
||||
|
Loading…
x
Reference in New Issue
Block a user