corrected dependency for generating autoenums.h

one of the dependencies should have been token.cpp, not token.h in
CMakeLists.txt
handle parser errors properly in new translator

for parser errors, the get token function differentiates between
parser errors and number constant errors by considering if getting an
operand and the data type of the error token (set to none for parser
errors, or double for number constant errors)

the parser setOperandState() function was removed and the operand state
now passed in as an argument to the token() function

the loop in the get expression function was rearranged to remove
duplicated code before and at the end of the loop

added several parser error tests to expression test #1