Added match() body and changed match symbols to actual token names (look
at match() implementation to see why).