take token kind from the tree in case if token kind from scanner is diff...

...erent. This might happen if parser decide to interpret token differently - i.e. treat keyword as identifier. This fixes #1320 
it is still ok since it does not affect the width of token. I'll add a comment explaining this