properly handled input that ends too early

The p_error method in the assembler's parser now properly handles a `None`
token (indicating end of input), by raising a SyntaxError with "input
ended too early".