def load(self):
        self.keywords = []
        text = self.read()
        lines = text.split('\n')
        for line in lines:
            line = line.strip()
            if line and not line.startswith('#') and not line.startswith('//'):
                word_list = line.split()
                if len(word_list) > 3:
                    continue
                elif len(word_list) == 2:
                    if not (word_list[1] in 'LITERAL' or
                            'KEYWORD' in word_list[1]):
                        word_list.insert(1, '')
                    else:
                        word_list.append('')
                elif len(word_list) == 1:
                    word_list += ['', '']
                keyword = Keyword(*word_list)
                self.keywords.append(keyword)
        self.keyword_ids = [k.id for k in self.keywords]
        self.id_keyword_dict = dict(zip(self.keyword_ids, self.keywords))
dataset/ETHPy150Open Robot-Will/Stino/stino/pyarduino/arduino_keyword.py/KeywordsFile.load/swapped operands of `in`