parser: changed state enumeration to number

changed the state enumeration to number enumeration with yes and no
enumerator since this is really what this argument is telling parser
(to allow numbers or not)

changes made to get token function of translator:
- added data type not equal to string for setting parser number argument
  since numeric constants are not allowed when looking for a string
- removed check to set the token length to one upon error when there
  was number error when not looking for a number or looking for a string
  (these won't occur so no need to check)
- simplified check when returned and expected expression error to
  checking if data type is not blank and not none and unknown token
  error was returned
- removed local state/number variable (only used for parse argument)