fixing redefinition as a different kind of symbol bug
initial commit
fixing ClassCastException from token to Tree