Add tokens for ^, | and ~