Issue #1275946 by rajatgusain and drewish: Fix warning that token types do not have any tokens defined.