'Expect to find character |c| at current position.
Raises an exception otherwise.'

def expect(self, c):

    if (self.c == c):
        self.next()
    else:
        self.error(('Missing    %s' % repr(c)))
