diff --git a/smali/src/main/antlr3/org/jf/smali/smaliParser.g b/smali/src/main/antlr3/org/jf/smali/smaliParser.g index f4470409..70df9ff6 100644 --- a/smali/src/main/antlr3/org/jf/smali/smaliParser.g +++ b/smali/src/main/antlr3/org/jf/smali/smaliParser.g @@ -471,9 +471,9 @@ enum_literal type_field_method_literal : reference_type_descriptor - ( ARROW simple_name - ( COLON nonvoid_type_descriptor -> ^(I_ENCODED_FIELD reference_type_descriptor simple_name nonvoid_type_descriptor) - | method_prototype -> ^(I_ENCODED_METHOD reference_type_descriptor simple_name method_prototype) + ( ARROW + ( simple_name COLON nonvoid_type_descriptor -> ^(I_ENCODED_FIELD reference_type_descriptor simple_name nonvoid_type_descriptor) + | method_name method_prototype -> ^(I_ENCODED_METHOD reference_type_descriptor method_name method_prototype) ) | -> reference_type_descriptor )