157: #line 292 "lalr1_parser.ipk" 158: def augment(self): 159: lhss = map(lambda x: x.LHS, self.productions) 160: newsym = self.start 161: while newsym in lhss: newsym = newsym + "'" 162: self.productions.insert(0, Production(newsym, [self.start])) 163: 164: def unaugment(self): 165: del self.productions[0] 166: