From e591eaf779e56d78de90975d06427725ef418531 Mon Sep 17 00:00:00 2001 From: Ben Gruver Date: Tue, 16 Apr 2013 22:55:40 -0700 Subject: [PATCH] Fix issue with .param directive when there are parameters of type D --- smali/src/main/antlr3/smaliTreeWalker.g | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smali/src/main/antlr3/smaliTreeWalker.g b/smali/src/main/antlr3/smaliTreeWalker.g index 30c52d62..0a11844d 100644 --- a/smali/src/main/antlr3/smaliTreeWalker.g +++ b/smali/src/main/antlr3/smaliTreeWalker.g @@ -481,7 +481,7 @@ method_name_and_prototype returns[String name, List parame for (String type: $method_prototype.parameters) { $parameters.add(new SmaliMethodParameter(paramRegister++, type)); char c = type.charAt(0); - if (c == 'J' || c == 'J') { + if (c == 'D' || c == 'J') { paramRegister++; } }