Updated scanner.py and token.py to fix temporary error message.
Another small change to token.py