The problem is that * is a binary operator, which must be between two expressions. For x*, use one of these sets of markup:
*
x ^ { {} * {} }
x ^ {"*"}