aboutsummaryrefslogtreecommitdiff
path: root/smali/src
diff options
context:
space:
mode:
authorJesusFreke@JesusFreke.com <JesusFreke@JesusFreke.com@55b6fa8a-2a1e-11de-a435-ffa8d773f76a>2010-12-23 19:58:27 +0000
committerJesusFreke@JesusFreke.com <JesusFreke@JesusFreke.com@55b6fa8a-2a1e-11de-a435-ffa8d773f76a>2010-12-23 19:58:27 +0000
commit0d54c0b93cdc22110046033b8a8ce2e6599bd994 (patch)
treee4cfbdc19374daa6f38764de344f16c95ecfb2f9 /smali/src
parentd659582b6e547ca26957c578afd82aef93d1815d (diff)
downloadsmali-0d54c0b93cdc22110046033b8a8ce2e6599bd994.tar.gz
Minor whitespace fixes
git-svn-id: https://smali.googlecode.com/svn/trunk@804 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
Diffstat (limited to 'smali/src')
-rw-r--r--smali/src/main/antlr3/org/jf/smali/smaliParser.g12
1 files changed, 6 insertions, 6 deletions
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)
)