'Like accept(), but fails if we don\'t like the next token.'

def expect(self, id):

    if self.accept(id):
        return True
    else:
        if self.next:
            self.unexpected_token()
        else:
            self.next_token_error('Unexpected    end    of    input')
        sys.exit(1)
