Minor improvement to how the colon is parsed for a field declaration

This commit is contained in:
Ben Gruver
2015-02-20 19:04:44 -08:00
parent dd4e572d0b
commit d5b748f4f5
4 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1 @@
.field public blah .blah

View File

@ -0,0 +1,17 @@
smali.FILE
SmaliClass(CLASS)
SmaliExtendsList(EXTENDS_LIST)
<empty list>
SmaliImplementsList(IMPLEMENTS_LIST)
<empty list>
SmaliField(FIELD)
PsiElement(FIELD_DIRECTIVE)('.field')
PsiWhiteSpace(' ')
SmaliModifierList(MODIFIER_LIST)
PsiElement(ACCESS_SPEC)('public')
PsiWhiteSpace(' ')
PsiElement(MEMBER_NAME)
PsiElement(SIMPLE_NAME)('blah')
PsiWhiteSpace(' ')
PsiErrorElement:mismatched input '.blah' expecting COLON
PsiElement(BAD_CHARACTER)('.blah')