From 0d54c0b93cdc22110046033b8a8ce2e6599bd994 Mon Sep 17 00:00:00 2001 From: "JesusFreke@JesusFreke.com" Date: Thu, 23 Dec 2010 19:58:27 +0000 Subject: Minor whitespace fixes git-svn-id: https://smali.googlecode.com/svn/trunk@804 55b6fa8a-2a1e-11de-a435-ffa8d773f76a --- smali/src/main/antlr3/org/jf/smali/smaliParser.g | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'smali/src') diff --git a/smali/src/main/antlr3/org/jf/smali/smaliParser.g b/smali/src/main/antlr3/org/jf/smali/smaliParser.g index 4e3f54b1..62dc0ab5 100644 --- a/smali/src/main/antlr3/org/jf/smali/smaliParser.g +++ b/smali/src/main/antlr3/org/jf/smali/smaliParser.g @@ -148,7 +148,7 @@ import org.jf.dexlib.Code.Format.*; if (verboseErrors) { List stack = getRuleInvocationStack(e, this.getClass().getName()); String msg = null; - + if (e instanceof NoViableAltException) { NoViableAltException nvae = (NoViableAltException)e; msg = " no viable alt; token="+getTokenErrorDisplay(e.token)+ @@ -158,8 +158,8 @@ import org.jf.dexlib.Code.Format.*; } else { msg = super.getErrorMessage(e, tokenNames); } - - return stack + " " + msg; + + return stack + " " + msg; } else { return super.getErrorMessage(e, tokenNames); } @@ -280,12 +280,12 @@ import org.jf.dexlib.Code.Format.*; } return root; } - + private void throwOdexedInstructionException(IntStream input, String odexedInstruction) throws OdexedInstructionException { /*this has to be done in a separate method, otherwise java will complain about the auto-generated code in the rule after the throw not being reachable*/ - throw new OdexedInstructionException(input, odexedInstruction); + throw new OdexedInstructionException(input, odexedInstruction); } } @@ -561,7 +561,7 @@ enum_literal type_field_method_literal : reference_type_descriptor - ( ARROW + ( 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) ) -- cgit v1.2.3