'Create additional useful structures.  (Internal).'

def finish_off(self):

    self.keywords = {}
    self.tokens = {}
    for (ilabel, (type, value)) in enumerate(self.labels):
        if ((type == token.NAME) and (value is not None)):
            self.keywords[value] = ilabel
        elif (value is None):
            self.tokens[type] = ilabel
